swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8


From: Gary Polhill
Subject: Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8
Date: Thu, 15 Jun 2006 13:20:28 +0100

>
>
>>>> address@hidden 2006-06-12 17:04:37 >>>
>Hmm,  I don't remember if recent version of GCC / Solaris fix this, but 
>once upon a time if you had a GCC configured with the native linker, the 
>constructors for Objective C wouldn't get called, and you'd get a 
>failure like this.  The fix was to build GNU binutils to gets its 
>linker, and then build GCC to use that.

Further to my last message, compiling Swarm with --disable-libobjc results in 
the following error at compile time:

if /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../../../src/20060612/swarm/src/defobj -I../.. -I../..  -I../.. -I.. 
-I../../../../src/20060612/swarm/src/defobj/.. 
-I../../../../src/20060612/swarm/src/defobj/../collections 
-I../../../../src/20060612/swarm/src/defobj/../misc 
-I/software/jdk-5/jdk/instances/jdk1.5.0/include 
-I/software/jdk-5/jdk/instances/jdk1.5.0/include/solaris  -I../../avcall    
-DBUILDING_SWARM   -g -O2 -fgnu-runtime -fno-strict-aliasing -Wall -Wno-import 
-Wno-protocol -Wno-long-long -Wno-unknown-pragmas -Wno-unknown-pragmas -MT 
FCall.lo -MD -MP -MF ".deps/FCall.Tpo" -c -o FCall.lo 
../../../../src/20060612/swarm/src/defobj/FCall.m; \
then mv -f ".deps/FCall.Tpo" ".deps/FCall.Plo"; else rm -f ".deps/FCall.Tpo"; 
exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I../../../../src/20060612/swarm/src/defobj -I../.. 
-I../.. -I../.. -I.. -I../../../../src/20060612/swarm/src/defobj/.. 
-I../../../../src/20060612/swarm/src/defobj/../collections 
-I../../../../src/20060612/swarm/src/defobj/../misc 
-I/software/jdk-5/jdk/instances/jdk1.5.0/include 
-I/software/jdk-5/jdk/instances/jdk1.5.0/include/solaris -I../../avcall 
-DBUILDING_SWARM -g -O2 -fgnu-runtime -fno-strict-aliasing -Wall -Wno-import 
-Wno-protocol -Wno-long-long -Wno-unknown-pragmas -Wno-unknown-pragmas -MT 
FCall.lo -MD -MP -MF .deps/FCall.Tpo -c 
../../../../src/20060612/swarm/src/defobj/FCall.m  -fPIC -DPIC -o .libs/FCall.o
../../../../src/20060612/swarm/src/defobj/FCall.m: In function '-[FCall(c) 
_setMethodFromSelector:inObject:]':
../../../../src/20060612/swarm/src/defobj/FCall.m:470: warning: assignment 
discards qualifiers from pointer target type
../../../../src/20060612/swarm/src/defobj/FCall.m: In function 'apply':
../../../../src/20060612/swarm/src/defobj/FCall.m:840: error: 
'MFRAME_RESULT_SIZE' undeclared (first use in this function)
../../../../src/20060612/swarm/src/defobj/FCall.m:840: error: (Each undeclared 
identifier is reported only once
../../../../src/20060612/swarm/src/defobj/FCall.m:840: error: for each function 
it appears in.)
make[5]: *** [FCall.lo] Error 1
make[5]: Leaving directory `/software/guiswarm/build/20060612/src/defobj'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/software/guiswarm/build/20060612/src/defobj'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/software/guiswarm/build/20060612/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/software/guiswarm/build/20060612/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/software/guiswarm/build/20060612'
make: *** [all] Error 2



-- 
Please note that the views expressed in this e-mail are those of the
sender and do not necessarily represent the views of the Macaulay
Institute. This email and any attachments are confidential and are
intended solely for the use of the recipient(s) to whom they are
addressed. If you are not the intended recipient, you should not read,
copy, disclose or rely on any information contained in this e-mail, and
we would ask you to contact the sender immediately and delete the email
from your system. Thank you.
Macaulay Institute and Associated Companies, Macaulay Drive,
Craigiebuckler, Aberdeen, AB15 8QH.




reply via email to

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