On 12 Feb 2011, at 18:03, Ryan Harter wrote:

> I'm getting a bunch of errors while compiling Etoile.  Here's where I've 
> gotten so far.
> 
> Initially I got the following error while building UnitKit:
> 
>> Build Project: UnitKit
>> 
>> Making all for framework UnitKit...
>>  Compiling file UKRunner.m ...
>> In file included from UKRunner.m:39:
>> /Local/Library/Headers/ObjectiveC2/runtime.h:39: error: redefinition of 
>> typedef ‘Ivar’
>> /Local/Library/Headers/ObjectiveC2/runtime.h:39: note: previous declaration 
>> of ‘Ivar’ was here
>> /Local/Library/Headers/ObjectiveC2/runtime.h:80: error: redefinition of 
>> typedef ‘objc_property_t’
>> /Local/Library/Headers/ObjectiveC2/runtime.h:80: note: previous declaration 
>> of ‘objc_property_t’ was here
>> make[5]: *** [obj/UnitKit.obj/UKRunner.m.o] Error 1
>> make[4]: *** [internal-framework-run-compile-submake] Error 2
>> make[3]: *** [UnitKit.all.framework.variables] Error 2
>> make[2]: *** [internal-all] Error 2
>> make[1]: *** [internal-all] Error 2
>> make: *** [internal-all] Error 2
> 
> To fix that I just change the call on UKRunner.m:39 from #include to #import 
> since ObjectiveC2/runtime.h doesn't have an #ifndef __OBJECTIVE_C_2_RUNTIME__ 
> clause.

If you have ObjectiveC2.framework installed, then you are not using the GNUstep 
runtime.  Please install this and reconfigure GNUstep to use it.  Étoilé does 
not work with the GCC runtime.

I think this is explained in the INSTALL document.

>>  Compiling file NSBlocks.m ...
>> NSBlocks.m:2: fatal error: objc/blocks_runtime.h: No such file or directory
>> compilation terminated.
>> make[5]: *** [obj/libEtoileFoundation.obj/NSBlocks.m.o] Error 1
>> make[4]: *** [internal-subproject-all_] Error 2
>> make[3]: *** [libEtoileFoundation.all.subproject.variables] Error 2
>> make[2]: *** [EtoileFoundation.all.framework.variables] Error 2
>> make[1]: *** [internal-all] Error 2
>> make: *** [internal-all] Error 2
> 
> This is all using gnustep-make-2.4.0, base-1.21.1, gui-0.19.0, and 
> back-0.19.0.  I believe all of those are the latest ones, at least on the 
> gnustep ftp site.

The GCC runtime does not have blocks support, and therefore lacks this header.

David

-- Sent from my Difference Engine
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to