swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Re:Compiliing swarm from scratch MacOS X


From: Bill Northcott
Subject: [Swarm-Support] Re:Compiliing swarm from scratch MacOS X
Date: Tue, 12 Aug 2003 21:59:41 +1000

This is a problem I am still working on.

If you cd to java/c, and then reissue the libtool invocation but add 
-BLT24 on the end after -lswarm, it should work.  It works properly on 
Linux.  It should work on MacOS X.  I think it is basically a libtool 
issue. 

Once you have built libjavaswarm, you can cd back to the top build 
directory and reissue the make command, which should complete the build.

Bill Northcott

Alex wrote
> I have compiled gcc 3.3 from FSF, and I have downloaded the last
> version of Swarm from cvs site.
> Now I have the following error
> ---
> Making all in java
> make -C c all
> /bin/sh ../../libtool --mode=link /compiler/bin/gcc -g -O2
> -Wno-unknown-pragmas -o libjavaswarm.la -shrext .jnilib -version-info
> 1:0:0 -L/src/swarm/build/libobjc -rpath /swarm/lib
> SwarmEnvironmentExtra.lo SwarmEnvironment.lo predispatch.lo
> libjavaswarmstubs.la -L/src/swarm/build/src -lswarm
> /compiler/bin/gcc -dynamiclib -flat_namespace -undefined suppress -o
> .libs/libjavaswarm.1.0.0.jnilib  .libs/SwarmEnvironmentExtra.o
> .libs/SwarmEnvironment.o .libs/predispatch.o -all_load
> ./.libs/libjavaswarmstubs.a  -L/usr/local/tk8.4.1/lib
> -L/usr/X11R6/lib -L/usr/local/tcl8.4.1/lib -L/usr/local/blt2.4z/lib
> -L/usr/lib -L/usr/local/png_1.2.5/lib -L/src/swarm/build/src/misc
> -L/src/swarm/build/src/collections -L/src/swarm/build/src/defobj
> -L/src/swarm/build/src/activity -L/src/swarm/build/src/objectbase
> -L/src/swarm/build/src/tclobjc -L/src/swarm/build/src/tkobjc
> -L/src/swarm/build/src/random -L/src/swarm/build/src/simtools
> -L/src/swarm/build/src/simtoolsgui -L/src/swarm/build/src/analysis
> -L/src/swarm/build/src/space -L/src/swarm/build/libobjc
> -L/src/swarm/build/src /src/swarm/build/src/.libs/libswarm.dylib
> -install_name  /swarm/lib/libjavaswarm.1.jnilib
> -compatibility_version 2 -current_version 2.0
> ld: for architecture ppc
> ld: warning multiple definitions of symbol _tclStubsPtr
> /usr/local/tk8.4.1/lib/libtk8.4.dylib(tclStubLib.o) definition of 
_tclStubsPtr
> /usr/local/tcl8.4.1/lib/libtcl8.4.dylib(tclStubLib.o) definition of
> _tclStubsPtr
> ld: warning multiple definitions of symbol _tclPlatStubsPtr
> /usr/local/tk8.4.1/lib/libtk8.4.dylib(tclStubLib.o) definition of
> _tclPlatStubsPtr
> /usr/local/tcl8.4.1/lib/libtcl8.4.dylib(tclStubLib.o) definition of
> _tclPlatStubsPtr
> ld: warning multiple definitions of symbol _tclIntPlatStubsPtr
> /usr/local/tk8.4.1/lib/libtk8.4.dylib(tclStubLib.o) definition of
> _tclIntPlatStubsPtr
> /usr/local/tcl8.4.1/lib/libtcl8.4.dylib(tclStubLib.o) definition of
> _tclIntPlatStubsPtr
> ld: warning multiple definitions of symbol _tclIntStubsPtr
> /usr/local/tk8.4.1/lib/libtk8.4.dylib(tclStubLib.o) definition of
> _tclIntStubsPtr
> /usr/local/tcl8.4.1/lib/libtcl8.4.dylib(tclStubLib.o) definition of
> _tclIntStubsPtr
> ld: warning multiple definitions of symbol _Tcl_InitStubs
> /usr/local/tk8.4.1/lib/libtk8.4.dylib(tclStubLib.o) definition of
> _Tcl_InitStubs
> /usr/local/tcl8.4.1/lib/libtcl8.4.dylib(tclStubLib.o) definition of
> _Tcl_InitStubs
> ld: Undefined symbols:
> _Blt_Init referenced from libswarm expected to be defined in 
libBLT24.dylib
> /usr/bin/libtool: internal link edit command failed
> make[3]: *** [libjavaswarm.la] Error 1
> make[2]: *** [all-stubs] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> [alex-alexs-Computer:/src/swarm/build] alex%
> ---
> Any hints?
> ALEX
> --
> ----
> ,,,,
> /'^'\
> ( o o )
> -oOOO--(_)--OOOo---------------------------------------------------
> Amo parlare di niente,
> E' l'unico argomento di cui so tutto.
> .oooO      Alex Perrone - address@hidden address@hidden
> (   )   Oooo.       Home Page: http://www.alessandroperrone.it
> ---\ (----(   )----------------------------------------------------
> \_)    ) /
> (_/

> 
> _______________________________________________
> swarm-hackers mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/swarm-hackers


reply via email to

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