[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors after Swarm install on LinuxPPC
From: |
Darren Schreiber |
Subject: |
Re: Errors after Swarm install on LinuxPPC |
Date: |
Tue, 23 Jan 2001 13:38:22 -0800 |
Below, I have pasted what I did and what I got. In the FAQ, I think
I found an answer to the errors that I was getting:
2.3 Big Ugly GCC/Egcs warnings when compiling Swarm applications
ANSWER. These are annoying but harmless errors that are
caused by a little glitch in the
objective-c compiler in the gcc project (which some systems
have installed
as egcs). On the SFI web site there is a patch for this that
users can apply to gcc and
recompile it. Then recompile swarm itself. Look here:
ftp://ftp.santafe.edu/pub/swarm/required-software/diffs/objc.diff.
RPMs compiled with this
patched compiler will not give this error message either. If
you use such
an RPM, there is no need to patch your gcc.
But, this answer doesn't seem to match the results below. I get a
segmentation fault and the program simply won't run. This program
was running consistently on Windows machines with Swarm 2.1.1. I
will go back and see if heatbugs and others run.
Now, if I need to patch the compiler, I have no idea how to do that.
And, my guess is that .diff files are for Window.
Also, how exactly do I find the application directory (or its linux
equivalent) and what text do I add to the Makefile to set SWARMHOME
correctly? I know I have done this before, but it was long ago and
maybe I never did it in Linux. The FAQ says:
2.4
You can tell Swarm to use that home either by editing the
Makefile in the application
directory (that's my personal favorite)
_______________________________
address@hidden macos]# rpm -ivh gcc-2.95.3-2n.ppc.rpm
gcc ##################################################
address@hidden macos]# rpm -ivh libstdc++-2.10.0-2n.ppc.rpm
libstdc++ ##################################################
address@hidden macos]# rpm -ivh gcc-c++-2.95.3-2n.ppc.rpm
gcc-c++ ##################################################
address@hidden macos]# rpm -ivh gcc-objc-2.95.3-2n.ppc.rpm
gcc-objc ##################################################
address@hidden macos]# rpm -ivh swarm-2.1.27-1.rh6.ppc.rpm
swarm ##################################################
address@hidden Cocktail1.00.1]$ make -k
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -D_GNU_SOURCE -DAPPNAME=partyModel
-DAPPVERSION=2.1.1 address@hidden
-I/usr/include/swarm Guest.m
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -D_GNU_SOURCE -DAPPNAME=partyModel
-DAPPVERSION=2.1.1 address@hidden
-I/usr/include/swarm main.m
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -D_GNU_SOURCE -DAPPNAME=partyModel
-DAPPVERSION=2.1.1 address@hidden
-I/usr/include/swarm ObserverSwarm.m
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -D_GNU_SOURCE -DAPPNAME=partyModel
-DAPPVERSION=2.1.1 address@hidden
-I/usr/include/swarm ModelSwarm.m
/bin/sh /usr/bin/libtool-swarm --mode link gcc
-fdollars-in-identifiers -O2 -g -L/usr/lib/swarm -rpath
/usr/lib/swarm -o partyModel Guest.o main.o ObserverSwarm.o
ModelSwarm.o -lswarm -lobjc
mkdir .libs
gcc -fdollars-in-identifiers -O2 -g -o .libs/partyModel Guest.o
main.o ObserverSwarm.o ModelSwarm.o -L/usr/lib/swarm
/usr/lib/swarm/libswarm.so
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/space
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/analysis
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/simtoolsgui
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/simtools
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/random
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/tkobjc
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/tclobjc
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/objectbase
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/activity
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/defobj
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/collections
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/src/misc
-L/usr/src/redhat/BUILD/swarm-2001-01-13/=without-hdf/libobjc
-L/usr/lib -L/usr/X11R6/lib
-L/usr/lib/gcc-lib/ppc-redhat-linux/2.95.3/
/usr/lib/swarm/libspace.so /usr/lib/swarm/libanalysis.so
/usr/lib/swarm/libsimtoolsgui.so /usr/lib/swarm/libsimtools.so
/usr/lib/swarm/librandom.so /usr/lib/swarm/libtkobjc.so
/usr/lib/swarm/libtclobjc.so /usr/lib/swarm/libobjectbase.so
/usr/lib/swarm/libactivity.so /usr/lib/swarm/libdefobj.so
/usr/lib/swarm/libcollections.so /usr/lib/swarm/libmisc.so
/usr/lib/swarm/libobjc.so -lgcc -lBLT -ltk8.0 -ltcl8.0 -lXpm -lpng
-lz /usr/lib/libffi.so -lX11 -lm -ldl /usr/lib/swarm/libswarm.so
/usr/lib/swarm/libobjc.so -L/usr/lib/gcc-lib/ppc-redhat-linux/2.95.3/
-lgcc /usr/lib/swarm/libobjc.so -Wl,--rpath -Wl,/usr/lib/swarm
-Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/X11R6/lib
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_SwarmObject' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_GUISwarm' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_EmptyProbeMap' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Pixmap' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_OvalNodeItem' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_UniformDoubleDist' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Swarm' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_MT19937gen' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Canvas' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_UniformIntegerDist' are not defined
creating partyModel
address@hidden Cocktail1.00.1]$
address@hidden Cocktail1.00.1]$ ./partyModel
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_SwarmObject' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_GUISwarm' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_EmptyProbeMap' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Pixmap' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_OvalNodeItem' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_UniformDoubleDist' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Swarm' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_MT19937gen' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Canvas' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_UniformIntegerDist' are not defined
Segmentation fault
address@hidden Cocktail1.00.1]$
--
_____________________________________________
Darren Schreiber
Attorney at Law
Graduate Student
Political Science, UCLA
address@hidden
http://www.bol.ucla.edu/~dschreib
==================================
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.
- Re: Do I understand MessageProbe correctly ?( was Re: EZGraph Query, (continued)
- Re: swarm-2001-01-10, Darren Schreiber, 2001/01/22
- Errors after Swarm install on LinuxPPC, Darren Schreiber, 2001/01/22
- Re: Errors after Swarm install on LinuxPPC, Ralf Stephan, 2001/01/22
- Re: Errors after Swarm install on LinuxPPC, Marcus G. Daniels, 2001/01/22
- Re: Errors after Swarm install on LinuxPPC, Darren Schreiber, 2001/01/22
- Re: Errors after Swarm install on LinuxPPC, Ralf Stephan, 2001/01/23
- Re: Errors after Swarm install on LinuxPPC, Marcus G. Daniels, 2001/01/23
- Re: Errors after Swarm install on LinuxPPC, Ralf Stephan, 2001/01/23
- Re: Errors after Swarm install on LinuxPPC,
Darren Schreiber <=
- Re: Errors after Swarm install on LinuxPPC, Paul E Johnson, 2001/01/23
- Re: Errors after Swarm install on LinuxPPC, Marcus G. Daniels, 2001/01/23
- Re: Errors after Swarm install on LinuxPPC, Darren Schreiber, 2001/01/23
- Re: Errors after Swarm install on LinuxPPC, Marcus G. Daniels, 2001/01/24
- Re: Errors after Swarm install on LinuxPPC, Darren Schreiber, 2001/01/24
- Re: Errors after Swarm install on LinuxPPC, Paul E Johnson, 2001/01/24
- Re: Errors after Swarm install on LinuxPPC, Paul E Johnson, 2001/01/24
- Re: Errors after Swarm install on LinuxPPC, Marcus G. Daniels, 2001/01/24
- Re: Errors after Swarm install on LinuxPPC, Darren Schreiber, 2001/01/24
- Re: Errors after Swarm install on LinuxPPC, Marcus G. Daniels, 2001/01/24