On Fri, Apr 16, 2010 at 08:36:05AM +0000, Mathieu Suen wrote:
> In file included from /usr/GNUstep/Local/Library/Headers/GNUstepBase/
> GSConfig.h:226:
> /usr/GNUstep/Local/Library/Headers/GNUstepBase/preface.h:81:11: fatal error:
> 'objc/objc.h' file not found
>  #include <objc/objc.h>
>           ^

Am I correct to assume that you are not using libobjc2? If so, you are
probably on a platform where clang can't find the headers that ship with
gcc. As a workaround, you can add them manually to ADDITIONAL_OBJCFLAGS.
E.g. on my machine, the gcc header dir is
/usr/lib/gcc/x86_64-linux-gnu/4.3/include, and I would try to build by
invoking 'make CC=clang
ADDITIONAL_OBJCFLAGS+=-I/usr/lib/gcc/x86_64-linux-gnu/4.3/include'.

That being said, might as well try out libobjc2 and get all the shiny
new runtime features (I think other stuff will require it anyways).

Cheers,

Niels

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à