[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling on Solaris 8
From: |
gert |
Subject: |
Re: Compiling on Solaris 8 |
Date: |
Mon, 18 Mar 2002 15:41:17 +0100 (CET) |
On 15 Mar, Marcus G. Daniels wrote:
> I don't track the history of versions that work and don't. I just
> grab the latest of whatever I don't have installed and build it. If
> it doesn't work, then I adapt Swarm so it does, or report a bug in the
> relevant package. The `needed' directory is only valid as of 2.1.1,
> and I would not suggest using those packages now.
OK, I will give it atry and see which problems I hit.
> GH> I was planning to use Suns j2sdk1.4.0 instead of j2sdk1.3.0, do
> GH> you know of any problems with that?
>
> 1.4.0 works, or at least it did as of one of the recent release
> candidates.
Fine
>
I have build a patched version of gcc-3.0.4 now, which uses ld and ar
from binutils-2.12.
The compilations now stops with the following error:
----------------------------------------------------------------------
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 /opt/gnu/gcc-3.0.4-gnu-ld/bin/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/usr/local/java/j2sdk1.4.0/include
-I/usr/local/java/j2sdk1.4.0/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
/opt/gnu/gcc-3.0.4-gnu-ld/bin/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/usr/local/java/j2sdk1.4.0/include
-I/usr/local/java/j2sdk1.4.0/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:12:
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:330: 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:330: 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:330: 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:330: 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: syntax error at '@' token
collections.xm:12: syntax error at '@' token
collections.xm:12: parse error before "protocolPermutedIndex"
collections.xm:13: method definition not in class context
compilation terminated.
gmake[4]: *** [collections.lo] Error 1
gmake[4]: Leaving directory
`/net/build.sparc/research/swarm-2002-03-09/src/collections'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/net/build.sparc/research/swarm-2002-03-09/src/collections'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/net/build.sparc/research/swarm-2002-03-09/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/net/build.sparc/research/swarm-2002-03-09'
gmake: *** [all] Error 2
------------------------------------------------------------------------
Inspection of the file "collections.xm" learnes that a lot of lines in
this file are doubled like:
------------------------------------------------------------------------
externvardef id OffsetOutOfRange=0,NoMembers=0,
externvardef id OffsetOutOfRange=0,NoMembers=0,
AlreadyAtEnd=0,AlreadyAtStart=0,InvalidIndexLoc=0,InvalidLocSymbol=0;
AlreadyAtEnd=0,AlreadyAtStart=0,InvalidIndexLoc=0,InvalidLocSymbol=0;
@end
@end
@protocolPermutedIndex
@protocolPermutedIndex
CREATING
CREATING
-setCollection:aCollection=0;
-setCollection:aCollection=0;
-setUniformRandom:rnd=0;
-setUniformRandom:rnd=0;
USING
USING
-reshuffle=0;
-reshuffle=0;
@end=0;
@end=0;
@protocolCollection
@protocolCollection
-------------------------------------------------------------------------
Any idee what causes this error.
Gert
--
Gert Huisman fac. Exacte Wetenschappen (div. W&I)
email: address@hidden Vrije Universiteit Amsterdam
telefoon: +31 20 4447806 De Boelelaan 1081a, k. S4.14
fax: +31 20 4447653 1081 HV Amsterdam, the Netherlands
==================================
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.
- How to read a HDF5 datablock b4 end of simulation?, Norberto Eiji Nawa, 2002/03/13
- Re: How to read a HDF5 datablock b4 end of simulation?, Marcus G. Daniels, 2002/03/13
- Compiling on Solaris 8, gert, 2002/03/14
- Re: Compiling on Solaris 8, Paul Johnson, 2002/03/14
- Re: Compiling on Solaris 8, Marcus G. Daniels, 2002/03/14
- Re: Compiling on Solaris 8, gert, 2002/03/15
- Re: Compiling on Solaris 8, Marcus G. Daniels, 2002/03/15
- Re: Compiling on Solaris 8,
gert <=
- Re: Compiling on Solaris 8, Marcus G. Daniels, 2002/03/18
Re: How to read a HDF5 datablock b4 end of simulation?, Marcus G. Daniels, 2002/03/15