swarm-hackers
[Top][All Lists]
Advanced

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

Re: [swarm-hackers] Old autoconf build process is broken in current trun


From: Bill Northcott
Subject: Re: [swarm-hackers] Old autoconf build process is broken in current trunk
Date: Wed, 25 Nov 2009 21:12:58 +1100

On 25/11/2009, at 7:00 PM, Scott Christley wrote:
> On Nov 24, 2009, at 11:55 PM, Bill Northcott wrote:
> MP -MF .deps/Array.Tpo -c -o Array.lo ../../../../src/collections/Array.m
>>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. 
>>> -I../../../../src/collections -I../.. -I. -I.. 
>>> -I../../../../src/collections/.. -I../../../../src/collections/../defobj 
>>> -I../../../../src/collections/../misc 
>>> -I../../../../src/collections/../objectbase 
>>> -I../../../../src/collections/../random -DGNUSTEP -I/Library/Headers 
>>> -I/Library/Headers/GNUstepBase -I/Library/Headers -D_GNU_SOURCE 
>>> -DBUILDING_SWARM -g -O2 -B ../../../../tools -fgnu-runtime 
>>> -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long 
>>> -Wno-unknown-pragmas -MT Array.lo -MD -MP -MF .deps/Array.Tpo -c 
>>> ../../../../src/collections/Array.m  -fno-common -DPIC -o .libs/Array.o
>>> In file included from 
>>> ../../../../src/collections/../defobj/Swarm/Customize.h:27,
>>>                from ../../../../src/collections/../defobj/Swarm/Create.h:26,
>>>                from ./Swarm/Collection.h:26,
>>>                from ../../../../src/collections/../collections/Array.h:26,
>>>                from ../../../../src/collections/Array.m:26:
>>> ../../../../src/collections/../defobj/Swarm/DefObject.h:36:0 
>>> ../../../../src/collections/../defobj/Swarm/DefObject.h:36: error: cannot 
>>> find interface declaration for 'NSObject', superclass of 'Object_s'
>>> In file included from ./Swarm/Collection.h:27,
>>>                from ../../../../src/collections/../collections/Array.h:26,
>>>                from ../../../../src/collections/Array.m:26:
>>> ./Swarm/collections.h:1238:36 ./Swarm/collections.h:1238:36: error: 
>>> Swarm/collections_types.h: No such file or directory
> 
> If you look closely at the flags being passed, you will see "-fgnu-runtime", 
> you are headed for disaster, you are telling the compiler to generate code 
> for the GNU objc runtime but yet you want to use the Apple objc runtime.
> 
> The Makefiles are not setup to compile against the Apple objc runtime.  I 
> avoided that hairy mess by using Xcode.

Thanks for spotting that.  The gnu-runtime stuff was lurking in configure.in.  
It is now unnecessary because Apple compilers don't support it and FSF 
compilers don't need it.  So I just removed them.

Unfortunately it is not the cause of the error above.

Bill





reply via email to

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