Hi Florent, This is a problem introduced by me into GNUstep. In preparation for the next GNUstep release, we are moving to the new Objective-C runtime APIs. This is breaking everything that uses the old GNU runtime APIs. I believe that a temporary fix can be accomplished by adding this to the top of the offending files:
#define __OBJC_LEGACY_GNU_MODE__ #include <objc/objc.h> #include <objc/objc-api.h> Let me know if this works. It's a short-term solution; we need to rewrite this code to use the new APIs (patches welcome...) as a real fix. David On 24 Feb 2010, at 16:12, Florent Figon wrote: > Hello everybody, > > I didn't know which mailinglist to choose, so I took the more generalist to > share my problems about compiling Etoilé. My system is a Kubuntu 9.10 x86_64 > with gcc4.4, gobjc4.4, GNUstep et llvm from svn. I tried to build Etoilé from > the trunk, also from stable but it doesn't work (I built Etoilé 0.4.1 in my > Archlinux system with packages from AUR, but I couldn't use it because after > running setup.sh etoile told me that there was no etoile_system program, so I > decided to test other versions, furthermore I want to have the most recent > version as possible). The interesting part of the make's output is : > > Making all for subproject libEtoileFoundation... > Compiling file ETCArray.c ... > Compiling file NSObject+Mixins.m ... > Compiling file NSObject+Prototypes.m ... > NSObject+Prototypes.m: In function ‘+[ETPrototypeLoaderStub load]’: > NSObject+Prototypes.m:343: error: request for member ‘method_name’ in > something not a structure or union > NSObject+Prototypes.m:344: error: request for member ‘method_types’ in > something not a structure or union > NSObject+Prototypes.m:345: error: request for member ‘method_imp’ in > something not a structure or union > NSObject+Prototypes.m:347: error: request for member ‘method_name’ in > something not a structure or union > NSObject+Prototypes.m:348: error: request for member ‘method_types’ in > something not a structure or union > NSObject+Prototypes.m:349: error: request for member ‘method_imp’ in > something not a structure or union > NSObject+Prototypes.m:352: error: request for member ‘method_name’ in > something not a structure or union > NSObject+Prototypes.m:353: error: request for member ‘method_types’ in > something not a structure or union > NSObject+Prototypes.m:354: error: request for member ‘method_imp’ in > something not a structure or union > make[5]: *** [obj/libEtoileFoundation.obj/ > NSObject+Prototypes.m.o] Erreur 1 > make[4]: *** [internal-subproject-all_] Erreur 2 > make[3]: *** [libEtoileFoundation.all.subproject.variables] Erreur 2 > make[2]: *** [EtoileFoundation.all.framework.variables] Erreur 2 > make[1]: *** [internal-all] Erreur 2 > make: *** [internal-all] Erreur 2 > > I don't know if this error comes from gcc (I also tried with CC=gcc-4.3, but > nothing) or something else, I've searched with google if someone else had > this error, but nothing again. I have some knowledge in programming but not > in Objective-C (I wanted to learn it using Etoilé ;)) and I can't solve this > problem by myself. So, if anybody has an idea I will be really enjoyed to > "hear" him :). Thanks a lot. > > (Just to precise I'm a French boy ;)) > > Florent Figon > _______________________________________________ > Etoile-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-discuss -- Sent from my PDP-11 _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
