On Sun, 9 Jan 2005, Brad Cavanagh wrote:
> With a fresh checkout of GAIA from CVS, I get the following errors when
> building:
>
> linking "bin/gaia_swish"...
> ranlib
> /Users/bradc/development/star-cvs/applications/gaia/built/lib/libskycat.a
> g++ -DSHARED=0 -DHAVE_CONFIG_H
> -DGAIA_LIBRARY=\"/Users/bradc/development/star-cvs/applications/gaia/gaia/library\"
> -I/Users/bradc/development/star-cvs/applications/gaia/built/include
> -I/Users/bradc/development/star-cvs/applications/gaia/built/include/itcl
> -I/Users/bradc/development/star-cvs/applications/gaia/built/include
> -I/Users/bradc/development/star-cvs/applications/gaia/built/include/itcl
> -I/usr/X11R6/include -O -g -O2 tkAppInit.o gaia_swish.o -o bin/gaia_swish
> \
> -L/Users/bradc/development/star-cvs/applications/gaia/built/lib
> -L/local-star/lib `ast_link -myerr -mygrf` \
> -lskycat ../lib/libgaia.a \
> -L/local-star/lib `ast_link -myerr -mygrf` -L/local-star/lib
> `ard_link` `ams_link_adam` `fio_link` `cat_link` `subpar_link_adam`
> `ndf_link` -lpda -L/local-star/lib `ast_link -myerr -mygrf`
> -L/Users/bradc/development/star-cvs/applications/gaia/built/lib -litk3.0
> -L/Users/bradc/development/star-cvs/applications/gaia/built/lib -ltk8.0
> -lBLT -L/Users/bradc/development/star-cvs/applications/gaia/built/lib
> /Users/bradc/development/star-cvs/applications/gaia/built/lib/libtclx8.0.3.a
> -L/Users/bradc/development/star-cvs/applications/gaia/built/lib -litcl3.0
> -L/Users/bradc/development/star-cvs/applications/gaia/built/lib -ltcl8.0
> -ltkhtml \
> -L/usr/X11R6/lib -lX11 -lXext -lresolv -ldl
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(_udivdi3.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(_umoddi3.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(_divdi3.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> ld: warning multiple definitions of symbol _matherr
> /usr/lib/libSystem.dylib(matherr.o) definition of _matherr
> /local-star/lib/libprm_a.dylib(num_han.o) definition of _matherr
> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(_moddi3.o)
> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
> objects type S_COALESCED
> make[2]: *** [bin/gaia_swish] Error 1
>
>
> These errors also happen for bin/gaia_wish. Any ideas? I hunted around
> briefly and found reference to something about building with two different
> versions of gcc, but I haven't upgraded anything recently and this was all
> done on one 'make world' process.
Hi Brad,
looks like another restFP-related issue, so Norman may have more to add,
but in this case you're actaully using the g++ compiler, not gcc, so there
may be issues with which version of that you're picking up?
Cheers,
Peter.
|