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 18:55:54 +1100

On 25/11/2009, at 5:40 PM, Bill Northcott wrote:
> 
> The missing files are in the include directory of FSF gcc.  Hence why it 
> works on Linux.  It might work on MacOS with an FSF compiler installed, but I 
> don't think that ought to be necessary.  There are no FSF compiler binaries 
> available for MacOS and my recent attempt to build one on Snow Leopard 
> convinced me it is a non-trivial task.
> 
> I think you need to conditionalise the runtime includes at the end of 
> src/defobj/swarm-objc-api.h. So you only include the headers for the runtime 
> you are using.  Similar issues may appear elsewhere.

Whoops, they are already conditional.  The problem is that __NEXT_RUNTIME__ is 
not defined.

IMO it should be __APPLE__ which means you are using the(an?) Apple compiler, 
which would be why you need the Apple runtime.  It will not be defined if using 
the FSF compiler but then you will have the GNU runtime.

I tried it and that error went away.  So I have committed it.

Now I am here:
> make  all-am
> /bin/sh ../../libtool   --mode=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 -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
> 
> 

??NSObject?? is this not in the runtime headers???  or do we need Cocoa.h or 
something?

Cheers
Bill

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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