|
From: | ecolab |
Subject: | help on installing swarm |
Date: | Fri, 27 Feb 1998 14:54:50 +0800 |
Dear Sir/Madam,
There is an error occured when I install the Xpm3.4h. After
installing, It can work and the sample program can be run properly. But it still
have a error after running "make" and "make install" and the
SWARM can not be compiled. The following is the Excerpt of error message. Can
you tell me what's wrong with it? Moreover,
I think the error of compiling SWARM is because the Xpm is wrong and I
checked Xlib.h and Xutil.h file after installing XPM, I found they have no
change. Do you think it is
right?
************************************* The Output message of XPM: GHOST# make making all in ./lib... make[1]: Entering directory `/export/home0/xpm/xpm-3.4j/lib' cc -c -O -xF -I. -I/usr/openwin/include -DSVR4 -DSYSV -DVOID_SPRINTF -K PIC data.c cc -c -O -xF -I. -I/usr/openwin/include -DSVR4 -DSYSV -DVOID_SPRINTF -K PIC create.c ... cc -c -O -xF -I. -I/usr/openwin/include -DSVR4 -DSYSV -DVOID_SPRINTF -K PIC WrFFrBuf.c make[1]: [mapfile] Error 1 (ignored) make[1]: [mapfile] Error 2 (ignored) rm -f libXpm.so.4.10~ (cd .; ld -o ./libXpm.so.4.10~ -G -z text -M mapfile -h libXpm.so.4.10 data.o create.o misc.o rgb.o scan.o parse.o hashtab.o CrBufFrI.o CrDatFrP.o CrPFrBuf.o RdFToI.o WrFFrI.o CrBufFrP.o CrIFrBuf.o CrPFrDat.o RdFToP.o WrFFrP.o CrDatFrI.o CrIFrDat.o RdFToDat.o WrFFrDat.o Attrib.o CrIFrP.o CrPFrI.o Image.o Info.o RdFToBuf.o WrFFrBuf.o ) rm -f libXpm.so.4.10 mv libXpm.so.4.10~ libXpm.so.4.10 rm -f libXpm.so ln -s libXpm.so.4.10 libXpm.so make[1]: Leaving directory `/export/home0/xpm/xpm-3.4j/lib' making all in ./sxpm... make[1]: Entering directory `/export/home0/xpm/xpm-3.4j/sxpm' cc -O -xF -DSYSV -DSVR4 -xF -Wa,-cg92 -I.././X11 -I.. -I/usr/openwin/includ e -DSVR4 -DSYSV -DVOID_SPRINTF -c sxpm.c -o sxpm.o rm -f sxpm cc -o sxpm sxpm.o -O -xF -DSYSV -DSVR4 -xF -Wa,-cg92 -R/usr/openwin/lib:/usr/openwin/li b:/usr/openwin/lib -L/usr/openwin/lib -L../lib -L/usr/openwin/lib -lXpm -lX t -lXext -lX11 -lsocket -lnsl make[1]: Leaving directory `/export/home0/xpm/xpm-3.4j/sxpm' GHOST# ******************************** The Output Message of heatbugs of SWARMAPP: gcc -c -g -O -Wall -Wno-import -I/export/home0/swarm/swarm-1.0.5/include -I /usr/openwin/include HeatbugBatchSwarm.m In file included from /export/home0/swarm/swarm-1.0.5/include/tk.h:72, from /export/home0/swarm/swarm-1.0.5/include/tkobjc/Raster.h:9, from /export/home0/swarm/swarm-1.0.5/include/tkobjc.h:16, from /export/home0/swarm/swarm-1.0.5/include/simtools.h:9, from HeatbugBatchSwarm.h:12, from HeatbugBatchSwarm.m:6: /usr/openwin/include/X11/Xlib.h:1894: warning: type defaults to `int' in declaration of `XSetTransientForHint' /usr/openwin/include/X11/Xlib.h:1902: warning: type defaults to `int' in declaration of `XActivateScreenSaver' ... /usr/openwin/include/X11/Xlib.h:3961: warning: type defaults to `int' in declaration of `XWarpPointer' /usr/openwin/include/X11/Xlib.h:3982: warning: type defaults to `int' in declaration of `XWindowEvent' gcc -g -L/export/home0/swarm/swarm-1.0.5/lib -L/usr/openwin/lib -o heatbugs Heatbug.o HeatSpace.o main.o HeatbugModelSwarm.o HeatbugObserverSwarm.o HeatbugBatchSwarm.o /export/home0/swarm/swarm-1.0.5/lib/swarm.x -lobjc -lX11 -lm -lsocket -ldl -lnsl ld: fatal: symbol `objc_free' is multiply defined: (file /export/home0/swarm/swarm-1.0.5/lib/swarm.x and file /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.0/libobjc.a(misc.o)); ld: fatal: symbol `objc_atomic_malloc' is multiply defined: (file /export/home0/swarm/swarm-1.0.5/lib/swarm.x and file /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.0/libobjc.a(misc.o)); ld: fatal: symbol `objc_calloc' is multiply defined: (file /export/home0/swarm/swarm-1.0.5/lib/swarm.x and file /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.0/libobjc.a(misc.o)); ld: fatal: symbol `objc_malloc' is multiply defined: (file /export/home0/swarm/swarm-1.0.5/lib/swarm.x and file /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.0/libobjc.a(misc.o)); ld: fatal: symbol `objc_realloc' is multiply defined: (file /export/home0/swarm/swarm-1.0.5/lib/swarm.x and file /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.0/libobjc.a(misc.o)); ld: fatal: File processing errors. No output written to heatbugs make: *** [heatbugs] Error 1 **************************************************************************** Hope your reply Best wishes.
Yours sincerely:Rao JingHai
Information School,
Renmin Univ. of China
|
[Prev in Thread] | Current Thread | [Next in Thread] |