swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Linking swarm apps problem


From: Paul E Johnson
Subject: Re: [Swarm-Support] Linking swarm apps problem
Date: Tue, 10 Jun 2003 08:51:44 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918

You need to install hdf5 and then rebuild swarm.

Incidentally, is /usr/local/lib in your library path?

pj


Claudio Tessone wrote:
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




--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700



reply via email to

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