swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Trying to build Swarm on windows: got far, hit libto


From: Bill Northcott
Subject: Re: [Swarm-Support] Trying to build Swarm on windows: got far, hit libtool trouble. Now it is your turn
Date: Thu, 27 Mar 2003 19:26:43 +1100

Among a lot of other stuff from Paul was this:
> /bin/sh ../libtool --mode=link gcc  -g -O2 -fgnu-runtime
> -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Werror
> -Wno-long-long  -Wno-unknown-pragmas   -o libswarm.la  -version-info
> 0:0:0 -rpath /Swarm-2.2/lib -Lspace -Lanalysis -Lsimtoolsgui -Lsimtools
> -Lrandom -Ltkobjc -Ltclobjc -Lobjectbase -Lactivity -Ldefobj
> -Lcollections -Lmisc -L../libobjc -L/Swarm-2.2/lib  -L/usr/lib
> -L/usr/lib -L/Swarm-2.2/lib -LC:/cygwin/usr/lib -L/usr/X11R6/lib
> -LC:/cygwin/usr/lib -L/usr/X11R6/lib  SwarmEnvironment.lo  -lspace
> -lanalysis -lsimtoolsgui -lsimtools -lrandom -ltkobjc -ltclobjc
> -lobjectbase -lactivity -ldefobj -lcollections -lmisc -lobjc -lBLT24
> -ltk80 -ltcl80 -lXpm -lpng -lhdf5 -lz -luser32 -lgdi32 -lm

> *** Warning: This system can not link to static lib archive
> 
/cygdrive/d/home/pjohnson/src/swarm-2.1.142.20030325/build/libobjc/libobjc.la.
> *** I have the capability to make that library automatically link in 
when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.

> *** Warning: This system can not link to static lib archive
> /Swarm-2.2/lib/libhdf5.la.
> *** I have the capability to make that library automatically link in 
when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
> shared libraries

You seem to be trying to link a dynamic swarm library from static versions 
of libobjc and hdf5.  The Cygwin linker does not like it.  Although the 
MacOS X linker would be perfectly happy.

The solution would appear to be to build libobjc and hdf5 as dynamic 
libraries or make the whole thing static (? not possible with Cygwin?)

Bill Northcott


reply via email to

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