swarm-support
[Top][All Lists]
Advanced

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

2 problems running Heatbugs


From: jones . peter
Subject: 2 problems running Heatbugs
Date: Tue, 21 Aug 2001 03:03:25 -0400 (EDT)

Dear Swarm-Support:

I am able to install Swarm in the following situation:

RedHat Linux 7.0.1 on an Intel platform, with all current updates
gcc 3.0.1 (using a CVS archive), installed in /usr/local/gcc3
Blackdown Sun JDK 1.3.1 
HDF5 installed at /usr/local/hdf5

Swarm itself is installed at /usr/local/swarm.


When trying to run heatbugs, I have two problems:

1) I am getting 11 warnings about dynamic symbols, once in the
"make", and again for each execution of the compiled program.
They appear to be related to entries in HeatbugObserverSwarm.h
and HeatbugObserverSwarm.m.

Is there a way to avoid these warnings?


2) In order to compile, I seem to have to specify
EXTRALDFLAGS="-rpath /usr/local/gcc3/lib". Otherwise, if I specify
only the SWARMHOME directory, the make appears to succeed, but
running heatbugs itself gives the diagnostic:
lt-heatbugs: error while loading shared libraries: libgcc_s.so.1: cannot load 
shared object file: No such file or directory
I feel this flag is burdensome for end-users, but it will go away
when gcc3 becomes the standard compiler. Probably it would not
occur if I stuck to the standard gcc compiler. If Swarm needs
libgcc_s.so.1, then it should set this flag. Otherwise, I agree
it's the end-user's responsibility; maybe this flag could be set
in the makefile.


In a correct execution, I cd to the heatbugs directory, and type:
make SWARMHOME=/usr/local/swarm EXTRALDFLAGS="-rpath /usr/local/gcc3/lib"
giving:

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

Then, 
./heatbugs
gves the same 11 warnings, but the simulation runs.

Thanks,
Peter Jones


                  ==================================
   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]