swarm-support
[Top][All Lists]
Advanced

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

Re: Compiler error


From: Alex Lancaster
Subject: Re: Compiler error
Date: 28 Dec 2000 01:56:51 -0700
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.6

>>>>> "KO" == Kerimcan Ozcan <address@hidden> writes:

KO> Hi, Can anyone tell me what the problem is with the following
KO> compiler complaint (under 2.1.1)? My application used to work fine
KO> under 1.4.1.  Thanks a ton!

KO> Kerimcan Ozcan U of Michigan

KO> $ make /bin/sh /Swarm-2.1.1/bin/libtool-swarm --mode link gcc -g
KO> -O2 -L/Swarm-2.1.1/lib -rpath /Swarm-2.1.1/lib -o diffusIn.exe
KO> InfoRecord.o SocLink.o PercVarInfo.o O ffer.o PercPerf.o Firm.o
KO> Parameters.o Consumer.o DataGenerator.o DiffusInModelSw arm.o
KO> DiffusInBatchSwarm.o DiffusInObserverSwarm.o main.o -lspace
KO> /Swarm-2.1.1/s warmapps-2.1.1/exptools/libUM-ExpTools-4.a
KO> -lswarmdll -lobjcdll gcc -g -O2 -o diffusIn.exe InfoRecord.o
KO> SocLink.o PercVarInfo.o Offer.o PercPerf .o Firm.o Parameters.o
KO> Consumer.o DataGenerator.o DiffusInModelSwarm.o DiffusInB
KO> atchSwarm.o DiffusInObserverSwarm.o main.o
KO> /Swarm-2.1.1/swarmapps-2.1.1/exptools /libUM-ExpTools-4.a
KO> -L/Swarm-2.1.1/lib -lspace -lswarmdll -lobjcdll -Wl,--rpath
KO> -Wl,/Swarm-2.1.1/lib -Wl,--rpath -Wl,/Swarm-2.1.1/lib
KO> 
/Swarm-2.1.1/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/bin/ld
KO> : cannot find -lspace collect2: ld returned 1 exit status make:
KO> *** [diffusIn.exe] Error 1

You probably have something like:

APPLIBS=-lspace

in your Makefile.  Just remove, or comment out this line in the
Makefile, and it should compile fine.  The reason you are getting this
problem is because the space library ("-lspace") is now compiled into
the the Swarm DLL ("-lswarmdll") which means that it doesn't exist as
a separate library, and hence the compiler error.

Alex
-- 
   Alex Lancaster * <address@hidden> * www.santafe.edu/~alex 
Dept. of Integrative Biology, UC Berkeley (ib.berkeley.edu) * +1 510 642-1233
    & Swarm Development Group, Santa Fe, New Mexico (www.swarm.org) 

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