[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Support] Error on Collections
From: |
Vincent |
Subject: |
[Swarm-Support] Error on Collections |
Date: |
Sun, 07 Mar 2004 23:39:56 +0100 |
Hi,
As a newbie, I am fighting with Swarm to compile. I already encoutered
numerous problems during compiling (using a FreeBSD 4.6-platform), but the
final one keeps me bothered... Configure runs nice and make will do ok,
until getting into the collections part, where make throws out :
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libobjc -I../..
-I../../libobjc -I. -I.. -I./.. -I./../defobj -I./../misc -I./../objectbase
-I./../random -DBUILDING_SWARM -g -O2 -fgnu-runtime -fno-strict-aliasing
-Wall -Wno-import -Wno-protocol -Wno-long-long -Wno-unknown-pragmas -c
collections.m -Wp,-MD,.deps/collections.TPlo -fPIC -DPIC -o
.libs/collections.o
In file included from collections.m:26:
collections.xm:6: syntax error before `OffsetOutOfRange'
collections.xm:8: warning: type defaults to `int' in declaration of
`AlreadyAtEnd'
collections.xm:8: conflicting types for `AlreadyAtEnd'
collections.h:344: 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:344: 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:344: 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:344: 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: invalid identifier address@hidden'
collections.xm:12: invalid identifier address@hidden'
collections.xm:12: syntax error before address@hidden'
collections.xm:13: method definition not in class context
Apparently, something within the collections.xm doesn't work out nice. The
error-lines in that files are:
#import <collections.h>
#import <objc/objc-api.h>
externvardef id Start=0,End=0,Between=0,Removed=0,Member=0;
externvardef id OffsetOutOfRange=0,NoMembers=0,
externvardef id OffsetOutOfRange=0,NoMembers=0, <--- line 6
AlreadyAtEnd=0,AlreadyAtStart=0,InvalidIndexLoc=0,InvalidLocSymbol=0;
AlreadyAtEnd=0,AlreadyAtStart=0,InvalidIndexLoc=0,InvalidLocSymbol=0;
I configured Swarm to configure without Java as
./configure --with-tclincludedir=/usr/local/include/tcl8.3/
--with-tclscriptdir=/usr/local/lib/tcl8.3/
--with-tkincludedir=/usr/local/include/tk8.3/
--with-tkscriptdir=/usr/local/lib/tk8.3/
--without-jdkdir
I am running all suggested software versions (gcc 2.95.3, emacs 21.3.4) but
am stuck here.
Does anyone has some valuable tips here ?
Thanks in advance!
================================================================
Vincent
E-Mail: address@hidden
"The creatures looked from pig to man, and from man to pig, and from pig
to man again: but it was impossible to say which was which"
- George Orwell, "Animal Farm"
- [Swarm-Support] Error on Collections,
Vincent <=