[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with Swarm on Linux PPC
From: |
Darren Schreiber |
Subject: |
Problems with Swarm on Linux PPC |
Date: |
Tue, 6 Feb 2001 23:39:01 -0800 |
I recompiled my Voting Model code under the most recent snapshot for
LinuxPPC. It did not run. This code has been running under Swarm
2.1.1 on Windows 95/98. It had been working in the 1-23-01 snapshot,
but when I pulled out 1-24-01 and put 1-23-01 back in, the code
wouldn't run correctly again.
The error appears to be that the SwarmEnvironment.m file is not present:
"/usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m: No
such file or directory."
I verified that there is no such file.
The pertinent output is below.
Darren
--------------------------
address@hidden Voting1.02.3]$ make EXTRAOBJCFLAGS=-Wno-error
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm main.m
main.m: In function `main':
main.m:42: warning: method `init' not implemented by protocol.
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm ManagerSwarm.m
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm ObserverSwarm.m
ObserverSwarm.m: In function `-[ObserverSwarm buildObjects]':
ObserverSwarm.m:41: warning: method `getDisplayFrequency' not
implemented by protocol.
ObserverSwarm.m:64: warning: method `getNumVoters' not implemented by protocol.
ObserverSwarm.m: In function `-[ObserverSwarm buildActions]':
ObserverSwarm.m:135: warning: method `getLengthOfRun' not implemented
by protocol.
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm Parameters.m
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm ModelSwarm.m
ModelSwarm.m: In function `+[ModelSwarm createBegin:]':
ModelSwarm.m:23: warning: method `getRandomSeed' not implemented by protocol.
ModelSwarm.m:24: warning: method `getNumVoters' not implemented by protocol.
ModelSwarm.m:25: warning: method `getNumberOfIssues' not implemented
by protocol.
ModelSwarm.m:26: warning: method `getMinPosition' not implemented by protocol.
ModelSwarm.m:27: warning: method `getMaxPosition' not implemented by protocol.
ModelSwarm.m:28: warning: method `getMovePlatforms' not implemented
by protocol.
ModelSwarm.m:29: warning: method `getXDim' not implemented by protocol.
ModelSwarm.m:30: warning: method `getYDim' not implemented by protocol.
ModelSwarm.m:31: warning: method `getRecenter' not implemented by protocol.
ModelSwarm.m:32: warning: method `getDistribution' not implemented by protocol.
ModelSwarm.m:33: warning: method `getStoppingRule' not implemented by protocol.
ModelSwarm.m:34: warning: method `getTime4Change' not implemented by protocol.
ModelSwarm.m:35: warning: method `getNewSalience' not implemented by protocol.
ModelSwarm.m:36: warning: method `getCompetition' not implemented by protocol.
ModelSwarm.m:37: warning: method `getMakeMovie' not implemented by protocol.
ModelSwarm.m: In function `-[ModelSwarm outputWinnerAndMedian]':
ModelSwarm.m:369: warning: method `getLengthOfRun' not implemented by protocol.
ModelSwarm.m: In function `-[ModelSwarm outputData]':
ModelSwarm.m:410: warning: method `getLengthOfRun' not implemented by protocol.
ModelSwarm.m: In function `-[ModelSwarm checkToStop]':
ModelSwarm.m:493: warning: method `getLengthOfRun' not implemented by protocol.
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm Agent.m
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm Voter.m
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm Coalition.m
gcc -c -fdollars-in-identifiers -O2 -g -Wall -Wno-import
-Wno-protocol -Werror -Wno-error -D_GNU_SOURCE -DAPPNAME=VotingModel
-I/usr/include/swarm ColorSelector.m
/bin/sh /usr/bin/libtool-swarm --mode link gcc
-fdollars-in-identifiers -O2 -g -L/usr/lib/swarm -rpath
/usr/lib/swarm -o VotingModel main.o ManagerSwarm.o ObserverSwarm.o
Parameters.o ModelSwarm.o Agent.o Voter.o Coalition.o ColorSelector.o
-lswarm -lobjc
gcc -fdollars-in-identifiers -O2 -g -o .libs/VotingModel main.o
ManagerSwarm.o ObserverSwarm.o Parameters.o ModelSwarm.o Agent.o
Voter.o Coalition.o ColorSelector.o -L/usr/lib/swarm
/usr/lib/swarm/libswarm.so
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/space
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/analysis
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/simtoolsgui
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/simtools
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/random
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/tkobjc
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/tclobjc
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/objectbase
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/activity
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/defobj
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/collections
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/src/misc
-L/usr/src/redhat/BUILD/swarm-2001-01-24/=without-hdf/libobjc
-L/usr/lib -L/usr/X11R6/lib
-L/packages/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.2/
/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/packages/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.2/ -lgcc
/usr/lib/swarm/libobjc.so -Wl,--rpath -Wl,/usr/lib/swarm -Wl,--rpath
-Wl,/usr/lib -Wl,--rpath -Wl,/usr/X11R6/lib
creating VotingModel
(gdb) run
Starting program: /home/darren/swarm/MyStuff/Voting1.02.4/.libs/VotingModel
*** event raised for error: InvalidArgument
*** function: nil_method(), file:
/usr/src/redhat/BUILD/swarm-2001-01-24/src/defobj/internal.m, line:
623
The message `hasEnough' was sent to nil.
*** execution terminating due to error
/usr/src/redhat/BUILD/swarm-2001-01-24/src/defobj/Symbol.m:173
-[Error(c) _raiseEvent:]
Program received signal SIGABRT, Aborted.
0xf330178 in kill ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
261
/usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:
No such file or directory.
(gdb) bt
#0 0xf330178 in kill ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#1 0xf32fe80 in raise ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#2 0xf33169c in abort ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#3 0xfad3780 in xstrdup ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#4 0xfbf7bd4 in _i_Error_c__raiseEvent_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#5 0xfc004c8 in nil_method ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#6 0x100045c0 in _i_ModelSwarm__checkForTrigger (self=0x1011a6a8, _cmd=0x6)
at ModelSwarm.m:109
#7 0xf632208 in ffi_call_SYSV ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#8 0xf632158 in ffi_call ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#9 0xfbfa1c4 in _i_FCall_c__performCall ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#10 0xfc81168 in _i_ActionTo_c___performAction__ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#11 0xfc8f118 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#12 0xfc8efe0 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#13 0xfc8efe0 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#14 0xfc8efe0 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#15 0xfc8efe0 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#16 0xfc8ec68 in _i_Activity_c__run ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#17 0x10002cb8 in _i_ObserverSwarm__go (self=0x10118620, _cmd=0x6)
at ObserverSwarm.m:167
#18 0x10001538 in _i_ManagerSwarm__runModel (self=0x100d5d90, _cmd=0x6)
at ManagerSwarm.m:38
#19 0xf632208 in ffi_call_SYSV ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#20 0xf632158 in ffi_call ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#21 0xfbfa1c4 in _i_FCall_c__performCall ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#22 0xfc81168 in _i_ActionTo_c___performAction__ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#23 0xfc8f118 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#24 0xfc8efe0 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#25 0xfc8efe0 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#26 0xfc8efe0 in _i_Activity_c___run_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#27 0xfc8ec68 in _i_Activity_c__run ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#28 0xfc8f608 in _i_Activity_c__next ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#29 0xfc8bdd4 in _i_ScheduleActivity_c__stepUntil_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#30 0xff20210 in _i_ControlPanel__startInActivity_ ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#31 0xff21150 in _i_GUISwarm__go ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
#32 0x100011f4 in main (argc=268566528, argv=0x10020000) at main.m:47
#33 0xf3287d4 in __libc_start_main ()
at /usr/src/redhat/BUILD/swarm-2001-01-24/src/SwarmEnvironment.m:261
(gdb)
address@hidden macos]$ cd /usr/src/redhat/BUILD/
address@hidden BUILD]$ ls -l
total 0
address@hidden BUILD]$ cd /swarm-2001-01-24
bash: cd: /swarm-2001-01-24: No such file or directory
address@hidden BUILD]$ ls -l
total 0
address@hidden BUILD]$
--
_____________________________________________
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.