swarm-support
[Top][All Lists]
Advanced

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

Problem building swarm-2002-05-14


From: Killian Edward F Contr AFRL/IFOS
Subject: Problem building swarm-2002-05-14
Date: Mon, 5 Aug 2002 18:07:53 -0000

I'm a system administrator trying to build and install swarm for one of my
users.  I'm not on the mailing lists so please email me directly.  If you
would like me to subscribe and then unsubscribe when I have it installed I
can do that.

Now, the problem.  I was having problems compiling on Solaris 2.6.  First I
had to get and install all the additional packages (blt,  XPM lib, ffcall,
etc).  Then I figured out that it's best to compile wiht > gcc-3.0.  Then I
found out that it's best to use > emacs 20.0.  Now I get the following
problem during the build:

make  all-am
make[4]: Entering directory
`/home/swarm/build/swarm-2002-05-14/src/collections'
source='collections.m' object='collections.lo' libtool=yes \
depfile='.deps/collections.Plo' tmpdepfile='.deps/collections.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. 
-I../../libobjc -I../.. -I../../libobjc -I. -I.. -I./.. -I./../defobj 
-I./../misc -I./../objectbase -I./../random -I/home/java/jdk1.2.2/include 
-I/home/java/jdk1.2.2/include/solaris   -DBUILDING_SWARM   -g -O2 -Wall 
-Wno-import -Wno-protocol -Werror -Wno-unknown-pragmas -c -o collections.lo 
`test -f collections.m || echo './'`collections.m
rm -f .libs/collections.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libobjc -I../.. 
-I../../libobjc -I. -I.. -I./.. -I./../defobj -I./../misc -I./../objectbase 
-I./../random -I/home/java/jdk1.2.2/include 
-I/home/java/jdk1.2.2/include/solaris -DBUILDING_SWARM -g -O2 -Wall
-Wno-import 
-Wno-protocol -Werror -Wno-unknown-pragmas -c collections.m -MT
collections.lo 
-MD -MP -MF .deps/collections.TPlo  -fPIC -DPIC -o .libs/collections.lo
In file included from collections.m:26:
collections.xm:6: `id' redeclared as different kind of symbol
../../libobjc/objc/objc.h:72: previous declaration of `id'
collections.xm:6: parse error before "OffsetOutOfRange"
cc1obj: warnings being treated as errors
collections.xm:8: warning: type defaults to `int' in declaration of 
`AlreadyAtEnd'
collections.xm:8: conflicting types for `AlreadyAtEnd'
collections.h:344: previous declaration of `AlreadyAtEnd'
collections.xm:8: warning: type defaults to `int' in declaration of 
`AlreadyAtStart'
collections.xm:8: conflicting types for `AlreadyAtStart'
collections.h:344: previous declaration of `AlreadyAtStart'
collections.xm:8: warning: type defaults to `int' in declaration of 
`InvalidIndexLoc'
collections.xm:8: conflicting types for `InvalidIndexLoc'
collections.h:344: previous declaration of `InvalidIndexLoc'
collections.xm:8: warning: type defaults to `int' in declaration of 
`InvalidLocSymbol'
collections.xm:8: conflicting types for `InvalidLocSymbol'
collections.h:344: previous declaration of `InvalidLocSymbol'
collections.xm:8: warning: data definition has no type or storage class
collections.xm:9: warning: address@hidden' must appear in an implementation 
context
collections.xm:10: warning: address@hidden' must appear in an implementation 
context
collections.xm:11: parse error before '@' token
collections.xm:14: method definition not in class context
compilation terminated.
make[4]: *** [collections.lo] Error 1
make[4]: Leaving directory
`/home/swarm/build/swarm-2002-05-14/src/collections'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/swarm/build/swarm-2002-05-14/src/collections'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/swarm/build/swarm-2002-05-14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/swarm/build/swarm-2002-05-14'
make: *** [all] Error 2

Well I can't figure that out so I read how you do a lot with Linux.  I copy
the swarm source over to our Red Hat 7.1 system, get and install blt over
there, and try to compile.  On this system I get:

Making all in tools
make[2]: Entering directory `/home/swarm/build/swarm-2002-05-14/tools'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wno-import -Wno-protocol 
-Werror   -o findImp -L../src -L../libobjc findImp.lo -lswarm 
gcc -g -O2 -Wall -Wno-import -Wno-protocol -Werror -o .libs/findImp
findImp.o  
-L/home/swarm/build/swarm-2002-05-14/src 
-L/home/swarm/build/swarm-2002-05-14/libobjc 
/home/swarm/build/swarm-2002-05-14/src/.libs/libswarm.so 
-L/home/swarm/build/swarm-2002-05-14/src/space 
-L/home/swarm/build/swarm-2002-05-14/src/analysis 
-L/home/swarm/build/swarm-2002-05-14/src/simtoolsgui 
-L/home/swarm/build/swarm-2002-05-14/src/simtools 
-L/home/swarm/build/swarm-2002-05-14/src/random 
-L/home/swarm/build/swarm-2002-05-14/src/tkobjc 
-L/home/swarm/build/swarm-2002-05-14/src/tclobjc 
-L/home/swarm/build/swarm-2002-05-14/src/objectbase 
-L/home/swarm/build/swarm-2002-05-14/src/activity 
-L/home/swarm/build/swarm-2002-05-14/src/defobj 
-L/home/swarm/build/swarm-2002-05-14/src/collections 
-L/home/swarm/build/swarm-2002-05-14/src/misc -L/usr/lib 
-L/usr/X11R6/lib 
/home/swarm/build/swarm-2002-05-14/src/space/.libs/libspace.so 
/home/swarm/build/swarm-2002-05-14/src/analysis/.libs/libanalysis.so 
/home/swarm/build/swarm-2002-05-14/src/simtoolsgui/.libs/libsimtoolsgui
.so 
/home/swarm/build/swarm-2002-05-14/src/simtools/.libs/libsimtools.so 
/home/swarm/build/swarm-2002-05-14/src/random/.libs/librandom.so 
/home/swarm/build/swarm-2002-05-14/src/tkobjc/.libs/libtkobjc.so 
/home/swarm/build/swarm-2002-05-14/src/tclobjc/.libs/libtclobjc.so 
/home/swarm/build/swarm-2002-05-14/src/objectbase/.libs/libobjectbase.s
o /home/swarm/build/swarm-2002-05-14/src/activity/.libs/libactivity.so 
/home/swarm/build/swarm-2002-05-14/src/defobj/.libs/libdefobj.so 
/home/swarm/build/swarm-2002-05-14/src/collections/.libs/libcollections
.so /home/swarm/build/swarm-2002-05-14/src/misc/.libs/libmisc.so 
/home/swarm/build/swarm-2002-05-14/libobjc/.libs/libobjc.so -lgcc 
-lBLT24 -ltk8.3 -ltcl8.3 -lXpm -lpng -lz -lX11 -lm -ldl  -Wl,--rpath 
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/X11R6/lib
/home/swarm/build/swarm-2002-05-14/src/.libs/libswarm.so: undefined 
reference to `swarm_lookup_module'
collect2: ld returned 1 exit status
make[2]: *** [findImp] Error 1
make[2]: Leaving directory `/home/swarm/build/swarm-2002-05-14/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/swarm/build/swarm-2002-05-14'
make: *** [all] Error 2


If someone can help me I would be grateful.  I would really prefer to build
on Solaris.

Thanks.
Ed Killian
IFOS/Gemini Team
For:  AFRL/IFT
      525 Brooks Road
      Rome, NY 13441
      315-330-2973
      FAX: 315-330-8064


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