|
From: | c.w. Betts |
Subject: | Extentions won't compile |
Date: | Wed, 20 Dec 2006 10:09:35 -0700 |
Whenever I try to compile the extentions package, I
get the following error:
Anonymous@susetower:~/makestuff/GNUStep/NEW1/modules/dev-libs/extensions>
make
Making all in extensions... make[1]: Entering directory `/home/cwbetts/makestuff/GNUStep/NEW1/modules/dev-libs/extensions/extensions' cp gnustep-base/NSException.h NSException.h /usr/local/GNUstep/System/Library/Makefiles/mkinstalldirs obj/exceptions /usr/local/GNUstep/System/Library/Makefiles/mkinstalldirs obj/objc Making all for library libFoundationExt... Compiling file objc/NXStringTable_scan.c ... objc/NXStringTable_scan.l:510: warning: ‘yyunput’ defined but not used Compiling file objc-runtime.m .. In file included from objc-runtime.m:29: ../extensions/objc-runtime.h:50:1: warning: "class_addMethods" redefined In file included from /usr/local/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h:147, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h:33, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:32, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSString.h:29, from objc-runtime.m:25: /usr/local/GNUstep/System/Library/Headers/GNUstepBase/objc-gnu2next.h:263:1: warning: this is the location of the previous definition Compiling file NSException.m ... Compiling file GarbageCollector.m ... In file included from GarbageCollector.m:26: ../extensions/objc-runtime.h:50:1: warning: "class_addMethods" redefined In file included from /usr/local/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h:147, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h:33, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:32, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSRange.h:31, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSArray.h:29, from GarbageCollector.m:25: /usr/local/GNUstep/System/Library/Headers/GNUstepBase/objc-gnu2next.h:263:1: warning: this is the location of the previous definition GarbageCollector.m:41: warning: method possibly missing a [super dealloc] call Compiling file GCObject.m ... In file included from GCObject.m:34: ../extensions/objc-runtime.h:50:1: warning: "class_addMethods" redefined In file included from /usr/local/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h:147, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h:33, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:32, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h:29, from GCObject.m:29: /usr/local/GNUstep/System/Library/Headers/GNUstepBase/objc-gnu2next.h:263:1: warning: this is the location of the previous definition Compiling file GCArray.m ... In file included from GCArray.m:30: ../extensions/objc-runtime.h:50:1: warning: "class_addMethods" redefined In file included from /usr/local/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h:147, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h:33, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:32, from /usr/local/GNUstep/System/Library/Headers/Foundation/NSString.h:29, from GCArray.m:25: /usr/local/GNUstep/System/Library/Headers/GNUstepBase/objc-gnu2next.h:263:1: warning: this is the location of the previous definition GCArray.m:59:1: error: pasting "[" and "[" does not give a valid preprocessing token GCArray.m:115:1: error: pasting "[" and "(" does not give a valid preprocessing token GCArray.m:203:1: error: pasting "[" and "[" does not give a valid preprocessing token GCArray.m:239:1: error: pasting "[" and "[" does not give a valid preprocessing token GCArray.m:243:1: error: pasting "[" and "[" does not give a valid preprocessing token GCArray.m:273:1: error: pasting "[" and "[" does not give a valid preprocessing token GCArray.m:277:1: error: pasting "[" and "[" does not give a valid preprocessing token GCArray.m:291:1: error: pasting "[" and "[" does not give a valid preprocessing token make[2]: *** [obj/GCArray.o] Error 1 make[1]: *** [libFoundationExt.all.library.variables] Error 2 make[1]: Leaving directory `/home/cwbetts/makestuff/GNUStep/NEW1/modules/dev-libs/extensions/extensions' make: *** [internal-all] Error 2 I am running openSuSE 10.2 and am trying to build
from the svn source. I have GCC 4.1. The errors that most puzzle me
are in GCArray.m. I know a little of C++. Please
help.
|
[Prev in Thread] | Current Thread | [Next in Thread] |