discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problems compiling nib2gmodel under Mac OS X 10.1.1


From: e.sammer
Subject: Re: Problems compiling nib2gmodel under Mac OS X 10.1.1
Date: Fri, 16 Nov 2001 07:33:46 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913

LHelldorf@kabel.de wrote:

Hi, I tried to compile nib2gmodel under Mac OS X 10.1.1. ./configure went fine, 
but compilation failed:



<snip>

cc GMArchiver.m -c -DNeXT_RUNTIME=1 -DNeXT_GUI_LIBRARY=1 -DNeXT_Foundation_LIBRARY=1 -DNeXT_GUI_LIBRARY=1 -DNeXT_RUNTIME=1 -DNeXT_Foundation_LIBRARY=1 -DGSWARN -O2 -Wno-import -fnext-runtime -Wall -I../Headers -I../Headers/gnustep -I. -I/Users/lars/nib2gmodel-0.7.0/usr/GNUstep/System/Library/Headers -I/Users/lars/nib2gmodel-0.7.0/usr/GNUstep/System/Headers/NeXT -I/Users/lars/nib2gmodel-0.7.0/usr/GNUstep/System/Headers/powerpc/darwin5.1 -I/Users/lars/nib2gmodel-0.7.0/usr/GNUstep/System/Headers -o static_obj/powerpc/darwin5.1/nx-nx-nx/GMArchiver.o
GMArchiver.m: In function `-[GMUnarchiver decodeSelectorWithName:]':
GMArchiver.m:929: `NULL' undeclared (first use in this function)
GMArchiver.m:929: (Each undeclared identifier is reported only once
GMArchiver.m:929: for each function it appears in.)
GMArchiver.m:930: warning: control reaches end of non-void function
gnumake[2]: *** [static_obj/powerpc/darwin5.1/nx-nx-nx/GMArchiver.o] Fehler 1
gnumake[1]: *** [libgmodel.all.library.variables] Fehler 2
gnumake: *** [subproj-all] Fehler 2

Thanks for your help, Lars

Lars et al:

I fixed this error on my MOSX 10.1.1 machine by editing GMArchiver.m and switching the "NULL" with "nil". That will fix the compile time problem. The rest of the messages are just warnings due to the late binding of ObjC (someone correct me if I'm wrong). That said, once it was compiled, I noticed the following things on MOSX 10.1.1:

1. Typing "(gnu)make install" yields "install - target is up to date". Is this because we have to do the same thing as with the pbxbuild stuff, like "make DST_ROOT=/ install"?

2. When run within the build directory, nib2gmodel starts to connect to the Window Server and then dies with a fatal error (NSArray does not repspond to selector ...blah).

This could be just me being stupid. Anyone else having such problems?

--
e.sammer
eric@lifeless.net




reply via email to

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