swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking errors with swarm i386 under i486-suse


From: Marco Weismueller
Subject: Linking errors with swarm i386 under i486-suse
Date: Mon, 8 Oct 2001 16:07:53 +0200 (CEST)

Dear Swarm-Team,

I have installed the source code of swarm-2.1.1.tar.gz after I had problems
with the binaries of the package swarm-2.1.1-1.suse.i386.rpm under a
i486-linux system.

The compilation of the source code went ok, despite linking warnings, which
occured at the end of the swarm code compilation and each time, when compiling
programs. The warnings look like this for the heatbugs example:

-------------------------------------------------------------------------------
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Werror  -D_GNU_SOURCE 
-DAPPNAME=heatbugs -DAPPVERSION=2.1.1 address@hidden   -I/usr/local/include 
Heatbug.m
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Werror  -D_GNU_SOURCE 
-DAPPNAME=heatbugs -DAPPVERSION=2.1.1 address@hidden   -I/usr/local/include 
HeatSpace.m
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Werror  -D_GNU_SOURCE 
-DAPPNAME=heatbugs -DAPPVERSION=2.1.1 address@hidden   -I/usr/local/include 
main.m
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Werror  -D_GNU_SOURCE 
-DAPPNAME=heatbugs -DAPPVERSION=2.1.1 address@hidden   -I/usr/local/include 
HeatbugModelSwarm.m
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Werror  -D_GNU_SOURCE 
-DAPPNAME=heatbugs -DAPPVERSION=2.1.1 address@hidden   -I/usr/local/include 
HeatbugObserverSwarm.m
gcc -c -g -O2 -Wall -Wno-import -Wno-protocol -Werror  -D_GNU_SOURCE 
-DAPPNAME=heatbugs -DAPPVERSION=2.1.1 address@hidden   -I/usr/local/include 
HeatbugBatchSwarm.m
/bin/sh /usr/local/bin/libtool-swarm --mode link gcc -g -O2 -L/usr/local/lib 
-rpath /usr/local/lib  -o heatbugs Heatbug.o HeatSpace.o main.o 
HeatbugModelSwarm.o HeatbugObserverSwarm.o HeatbugBatchSwarm.o  -lswarm -lobjc
gcc -g -O2 -o .libs/heatbugs Heatbug.o HeatSpace.o main.o HeatbugModelSwarm.o 
HeatbugObserverSwarm.o HeatbugBatchSwarm.o -L/usr/local/lib 
/usr/local/lib/libswarm.so -L/usr/local/src/swarm/swarm-2.1.1/src/space 
-L/usr/local/src/swarm/swarm-2.1.1/src/analysis 
-L/usr/local/src/swarm/swarm-2.1.1/src/simtoolsgui 
-L/usr/local/src/swarm/swarm-2.1.1/src/simtools 
-L/usr/local/src/swarm/swarm-2.1.1/src/random 
-L/usr/local/src/swarm/swarm-2.1.1/src/tkobjc 
-L/usr/local/src/swarm/swarm-2.1.1/src/tclobjc 
-L/usr/local/src/swarm/swarm-2.1.1/src/objectbase 
-L/usr/local/src/swarm/swarm-2.1.1/src/activity 
-L/usr/local/src/swarm/swarm-2.1.1/src/defobj 
-L/usr/local/src/swarm/swarm-2.1.1/src/collections 
-L/usr/local/src/swarm/swarm-2.1.1/src/misc 
-L/usr/local/src/swarm/swarm-2.1.1/libobjc -L/usr/lib -L/usr/X11R6/lib 
-L/usr/lib/gcc-lib/i486-suse-linux/2.95.3/ /usr/local/lib/libspace.so 
/usr/local/lib/libanalysis.so /usr/local/lib/libsimtoolsgui.so 
/usr/local/lib/libsimtools.so /usr/local/lib/librandom.so 
/usr/local/lib/libtkobjc.so /usr/local/lib/libtclobjc.so 
/usr/local/lib/libobjectbase.so /usr/local/lib/libactivity.so 
/usr/local/lib/libdefobj.so /usr/local/lib/libcollections.so 
/usr/local/lib/libmisc.so /usr/local/lib/libobjc.so -lgcc -lBLT24 -ltk8.3 
-ltcl8.3 -lXpm -lpng /usr/lib/libhdf5.so -L/usr/ncsa/lib -lz 
/usr/lib/libjpeg.so -lnsl -lm -lX11 -ldl /usr/local/lib/libswarm.so 
/usr/local/lib/libobjc.so -L/usr/lib/gcc-lib/i486-suse-linux/2.95.3/ -lgcc 
/usr/local/lib/libobjc.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath 
-Wl,/usr/lib -Wl,--rpath -Wl,/usr/X11R6/lib
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_SwarmObject' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_ZoomRaster' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_CustomProbeMap' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_GUISwarm' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_EZGraph' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_Grid2d' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_Object2dDisplay' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_Value2dDisplay' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_Swarm' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_Diffuse2d' are not defined
/usr/i486-suse-linux/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_Colormap' are not defined
creating heatbugs
-------------------------------------------------------------------------------

Somehow, the dynamical allocation of classes seems not quite proper. Is this a
normal behaviour, which can be suppressed by a linker flag or might that cause
serious problems in further usage of Swarm . The examples in the installation
package run properly, even with these warnings.

What do you think about the linker warnings?

Regards, Marco Weismueller.





                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]