Print

Print


On 2005 Jan 21 , at 15.40, Starlink Software Librarian wrote:

> All,
>
> cd applications/astrom \
>   && (make && make install) >make.log 2>make.log.err || { cat
> make.log.err;
> false; }
> /usr/bin/ld:
> /opt/local/lib/gcc-lib/powerpc-apple-darwin7.5.1/3.3.3/
> libgcc.a(_udivdi3.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> /usr/bin/ld:
> /opt/local/lib/gcc-lib/powerpc-apple-darwin7.5.1/3.3.3/
> libgcc.a(_umoddi3.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> collect2: ld returned 1 exit status
> make[2]: *** [astrom] Error 1
> make[1]: *** [all] Error 2
> make: *** [/Users/ussc/install/manifests/astrom] Error 1

It's spreading!

I get

Basil:trunk> (cd applications/astrom; make)
make  all-am
g77 -DHAVE_CONFIG_H -I. -I. -I.     -g -O2
-I/Volumes/Boltzmann/local-star/include -fno-second-underscore -c -o
astrom.o astrom.f
[...blah...]
g77 -DHAVE_CONFIG_H -I. -I. -I.     -g -O2
-I/Volumes/Boltzmann/local-star/include -fno-second-underscore -c -o
params.o params.f
source='dummy_c.c' object='dummy_c.o' libtool=no \
depfile='.deps/dummy_c.Po' tmpdepfile='.deps/dummy_c.TPo' \
depmode=none /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2
-I/Volumes/Boltzmann/local-star/include -c dummy_c.c
g77  -g -O2 -I/Volumes/Boltzmann/local-star/include
-fno-second-underscore  -L/Volumes/Boltzmann/local-star/lib -o astrom
astrom.o astrml.o indat.o eqep.o radec.o transf.o rdcal.o cocomo.o
cocoom.o cocomm.o wfwcs0.o opw.o opr.o params.o  dummy_c.o -lsla
-lcfitsio  -lcc_dynamic
Basil:trunk> cc --version
cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Basil:trunk> g77 --version
GNU Fortran (GCC) 3.3.3
Copyright (C) 2002 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
Basil:trunk> which cc
/usr/bin/cc
Basil:trunk> which g77
/opt/local/bin/g77
Basil:trunk> which ld
/usr/bin/ld
Basil:trunk> uname -a
Darwin dhcp-trusted-115.physics.gla.ac.uk 7.7.0 Darwin Kernel Version
7.7.0: Sun Nov  7 16:06:51 PST 2004;
root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC  Power Macintosh powerpc
Basil:trunk>

(ie, 10.3.7)

Oh dear.  Looking at pluto, you appear to have the same cc and g77
versions.  I appear to have a later kernel version than you have (are
you running Software Update to get updates?), but I'd be surprised if
that made a difference.  Sigh....

Norman


--
----------------------------------------------------------------------
Norman Gray  :  Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/  :  www.starlink.ac.uk