swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Install problem on fc3


From: Jim Robison-Cox
Subject: [Swarm-Support] Install problem on fc3
Date: Sat, 20 Nov 2004 10:24:06 -0700

Hi, I am trying to install swarm 2.1.150.20040413  on fedora core 3,
and have run into a problem while make is performing:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libobjc -I../..
-I../../libobjc -I. -I.. -I./.. -I./../defobj -I./../misc
-I./../objectbase -I./../random -D_GNU_SOURCE -DBUILDING_SWARM -g -O2
-fgnu-runtime -fno-strict-aliasing -Wall -Wno-import -Wno-protocol
-Wno-long-long -Wno-unknown-pragmas -c InputStream.m -MT InputStream.lo
-MD -MP -MF .deps/InputStream.TPlo  -fPIC -DPIC -o .libs/InputStream.o

ERROR message:
InputStream.m: In function `-[InputStream(c) _getExpr]':
InputStream.m:168: warning: multiple methods named `-setClass:' found
./../defobj/defobj.h:589: warning: using `-setClass:aClass'
./collections.h:1103: warning: also found `-setClass:(Class)class'
InputStream.m: At top level:
InputStream.m:428: internal compiler error: in encode_type, at
objc/objc-act.c:7393
Sure enough in collections.h there is a protocol definition which includes
a setClass method

Line 1093
@protocol ArchiverValue <Create, Drop, RETURNABLE>
CREATING
- setDouble: (double)val;
- setLongDouble: (long double)val;
- setFloat: (float)val;
- setLongLong: (long long)val;
- setChar: (char)val;
- setBoolean: (BOOL)val;
- setClass: (Class)class;
- setNil;

AND in defobj.h there is another in the CreatedClass protocol:

Line 592
@protocol CreatedClass <Create, DefinedClass>
CREATING
- setName: (const char *)name;
- setClass: aClass;
- setSuperclass: aClass;
- setDefiningClass: aClass;
- at: (SEL)aSel addMethod: (IMP)aMethod;
- lispInCreate: expr;
- hdf5InCreate: hdf5Obj;
- (void)lispOutShallow: stream;
- (void)hdf5OutShallow: hdf5Obj;
- (void)updateArchiver: archiver;
USING
- getDefiningClass;
@end

BUT why should it complain about two protocols sharing a method?
Is the call in InputStream.m not clear? :

Line 167:
  value = [[[ArchiverValue createBegin: aZone]
                     setClass: objc_lookup_class ([newObj getC])]
                    createEnd];

Is it confusing ArchiverValue with CreatedClass?

Any advice would be appreciated.
Jim Robison-Cox
Montana State University


reply via email to

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