Hi!
Some time ago, I wrote to this list with the aim to provide a
suse rpm of swarm
Part of the lag to a new post was the fact that I installed suse
8.2. It comes with
gcc 3.3,
GNU libtool 1.4.3
First of all, I downloaded the snapshot
"swarm-2.1.143.20030512". It compiled smoothly. And I installed in
/usr/local.
Everything ok. But the problem is that when I try to compile a
program that can be found in Paul's page. For example this is a compile
error
/bin/sh /usr/local/bin/libtool-swarm --mode link gcc -g -O2
-L/usr/local/lib -rpath /usr/local/lib -o ef main.o Agent.o Bar.o
ModelSwarm.o ObserverSwarm.o MyParameter.o MovingAverage.o Rule.o
EZBar.o DBColormap.o -lswarm -lswarmobjc
/usr/local/lib/libdefobj.so.4: undefined reference to `H5T_NATIVE_UCHAR_g'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5Tset_size'
/usr/local/lib/libcollections.so.3: undefined reference to
`_swarm_i_ComponentZone_c__allocIVars_'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5Fclose'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5Fcreate'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5T_NATIVE_SHORT_g'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5Tinsert'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5Dwrite'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5Dclose'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5Tget_sign'
/usr/local/lib/libdefobj.so.4: undefined reference to `H5Pset_layout'
/usr/local/lib/libdefobj.so.4: undefined reference to
`_swarm_i_Zone_c__freeIVarsComponent_'
.......
Most of them are due to the fact that the linking do not contains
"-lhdf5" (I figured out), so, manually adding it, I get rid of them.
But, the errors of the kind
/usr/local/lib/libcollections.so.3: undefined reference to
`_swarm_i_ComponentZone_c__allocIVars_'
there is no way to take them off. I can't realize which is the absent
library, Does anybody have an idea about hat is happening?
Thanks in advance