1.

while compiling the daily snapshot core.20020611.tar I experienced some 
errors:

gcc NSObject.m -c \
       -DGNUSTEP_INSTALL_PREFIX=/opt/GNUstep/System 
-DGNUSTEP_LOCAL_ROOT=/opt/GNUstep/Local 
-DGNUSTEP_NETWORK_ROOT=/opt/GNUstep/Network 
-DGNUSTEP_TARGET_DIR=\"powerpc/darwin5\" 
-DGNUSTEP_TARGET_CPU=\"powerpc\" -DGNUSTEP_TARGET_OS=\"darwin5\" 
-DLIBRARY_COMBO=\"nx-gnu-gnu\" -Wall -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 
-DNeXT_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -no-cpp-precomp -nostdinc 
-I/usr/include -dynamic -fno-common -g -Wall -DDEBUG 
-fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import 
-I../Headers/gnustep -I../Headers -I./powerpc/darwin5 -I. -fnext-runtime 
-DNeXT_RUNTIME -I/opt/GNUstep/System/Headers 
-I/opt/GNUstep/System/Headers/gnustep/ -I/opt/GNUstep/Local/Headers/ 
-I/opt/GNUstep/System/Headers/powerpc/darwin5/ 
-I/opt/GNUstep/System/Headers/ \
        -o shared_debug_obj/powerpc/darwin5/nx-gnu-gnu/NSObject.o
NSObject.m:214: invalid initializer
NSObject.m: In function `NSDecrementExtraRefCountWasZero':
NSObject.m:291: parse error before `=='
NSObject.m:296: parse error before `else'
NSObject.m:299: warning: control reaches end of non-void function
NSObject.m: In function `+[NSObject initialize]':
NSObject.m:741: warning: cannot find class (factory) method.
NSObject.m:741: warning: return type for `alloc' defaults to id
NSObject.m:746: warning: cannot find class (factory) method.
NSObject.m:746: warning: return type for `class' defaults to id
NSObject.m:754: warning: cannot find class (factory) method.
NSObject.m:754: warning: return type for `class' defaults to id
make[2]: *** [shared_debug_obj/powerpc/darwin5/nx-gnu-gnu/NSObject.o] 
Error 1
make[1]: *** [libgnustep-base.all.library.variables] Error 2
make: *** [internal-all] Error 2

the fix for the error in line 291 is easy, there was just a bracket 
forgotten:

  if (node->value.uint) == 0)

should read:

  if ((node->value.uint) == 0)

I don't know a proper fix for line 214, although it compiles when I 
change:

  static GSIMapTable_t  retain_counts = 0;

to:

  static GSIMapTable_t  retain_counts;

btw: I have to use gcc 2.95.2 (gcc 3.1 has issues).

2.

In core/base/Examples the GNUmakefile has a minor bug:

line 49 reads:

include GNUmakefile.local

but there is no GNUmakefile.local and it is not needed. Commenting out 
that line resolves that issue.

3.

Building a debug version of GNUstep does not result in linking the 
GNUstep libraries against libobjc_d.dylib (nor libobjc_debug.dylib). I 
have both symbolically linked against libobjc_debug.A.dylib.

thanks and greetings, Lars


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to