Okay A couple of issues. 1) downloaded gnustep from subversion and successfully compiled and installed gnustep base. However gnustep gui didn't compile successfully. I think I may need to send this the GNUstep mailing list as well, but NSApplication.m is complaining about an invalid initializer among other errors and warnings, but I have attached the stack trace underneath:
Compiling file NSApplication.m ... NSApplication.m: In function ‘+[NSAppIconView initialize]’: NSApplication.m:487: warning: implicit declaration of function ‘GSCurrentServer’ NSApplication.m:487: warning: invalid receiver type ‘int’ NSApplication.m:487: warning: no ‘-iconTileImage’ method found NSApplication.m:487: warning: (Messages without a matching method signature NSApplication.m:487: warning: will be assumed to return ‘id’ and accept NSApplication.m:487: warning: ‘...’ as arguments.) NSApplication.m: In function ‘-[NSAppIconView mouseDown:]’: NSApplication.m:582: warning: implicit declaration of function ‘GSServerForWindow’ NSApplication.m:583: warning: invalid receiver type ‘int’ NSApplication.m:583: warning: no ‘-setinputfocus:’ method found NSApplication.m: In function ‘-[NSApplication _init]’: NSApplication.m:841: warning: no ‘+serverWithAttributes:’ method found NSApplication.m:843: warning: no ‘+setCurrentServer:’ method found NSApplication.m: In function ‘-[NSApplication dealloc]’: NSApplication.m:1189: warning: initialization makes pointer from integer without a cast NSApplication.m:1193: warning: assignment makes pointer from integer without a cast NSApplication.m:1228: warning: no ‘-closeServer’ method found NSApplication.m: In function ‘-[NSApplication activateIgnoringOtherApps:]’: NSApplication.m:1301: warning: invalid receiver type ‘int’ NSApplication.m:1301: warning: no ‘-setinputfocus:’ method found NSApplication.m: In function ‘-[NSApplication runModalForWindow:]’: NSApplication.m:1719: warning: assignment makes pointer from integer without a cast NSApplication.m:1732: warning: implicit declaration of function ‘DPSPeekEvent’ NSApplication.m: In function ‘-[NSApplication runModalSession:]’: NSApplication.m:1796: warning: assignment makes pointer from integer without a cast NSApplication.m:1808: warning: implicit declaration of function ‘DPSGetEvent’ NSApplication.m:1808: warning: assignment makes pointer from integer without a cast NSApplication.m: In function ‘-[NSApplication stop:]’: NSApplication.m:1895: warning: implicit declaration of function ‘DPSPostEvent’ NSApplication.m: In function ‘-[NSApplication discardEventsMatchingMask: beforeEvent:]’: NSApplication.m:2094: warning: implicit declaration of function ‘DPSDiscardEvents’ NSApplication.m: In function ‘-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]’: NSApplication.m:2118: warning: assignment makes pointer from integer without a cast NSApplication.m:2120: warning: assignment makes pointer from integer without a cast NSApplication.m: In function ‘-[NSApplication setApplicationIconImage:]’: NSApplication.m:2286: warning: invalid receiver type ‘int’ NSApplication.m:2286: warning: no ‘-iconSize’ method found NSApplication.m:2286: error: invalid initializer NSApplication.m: In function ‘-[NSApplication unhideWithoutActivation]’: NSApplication.m:2494: warning: invalid receiver type ‘int’ NSApplication.m:2494: warning: no ‘-miniwindow:’ method found make[4]: *** [obj/libgnustep-gui.obj/NSApplication.m.o] Error 1 2) I still continued and tried recompiling Etoile (so I can see how far I get inside the compilation cycle), and gcc is compiling about runtime.h inside EtoileFoundation having a function redefined that's already defined in the Objc-runtime already installed. I have attached that stack trace underneath as well. stack trace for that is underneath: Making all for framework ObjectiveC2... Compiling file NSBlocks.m ... In file included from NSBlocks.m:2: runtime.h:126: error: conflicting types for ‘class_get_instance_size’ /usr/lib/gcc/i486-linux-gnu/4.4.1/include/objc/objc-api.h:482: note: previous definition of ‘class_get_instance_size’ was here runtime.h:217: error: expected ‘)’ before ‘*’ token runtime.h:218: error: expected ‘)’ before ‘*’ token runtime.h:218: error: expected ‘)’ before ‘id’ runtime.h:218: error: expected ‘)’ before ‘=’ token make[4]: *** [obj/ObjectiveC2.obj/NSBlocks.m.o] Error 1 I think the core issue behind issue 2 that is the fact that I'm compiling this using GCC 4.4.1 instead of clang (not sure though). Is GNUstep development and Etoile moving towards using Clang solely or are there plans on updating the Objective-C frontend for GCC to include the Objective-C 2 changes being implemented here? Ram On Sat, Feb 20, 2010 at 4:15 PM, Eric Wasylishen <[email protected]>wrote: > Hi Ram, > > On 2010-02-20, at 2:43 PM, Ram Vedam wrote: > > > I followed the instructions in the INSTALL.Ubuntu and installed all the > dependencies, but when I tried compiling Etoile, its still complaining about > some objects. In particular its complaining it can't find the header for the > NSCondition (among some other errors). I have attached the stack trace > below: > > > > ETObjectPipe.h:32: error: expected specifier-qualifier-list before > ‘NSCondition’ > > ETObjectPipe.h:37: error: expected specifier-qualifier-list before > ‘NSCondition’ > > ETObjectPipe.h:87: error: expected ‘)’ before ‘NSCondition’ > > ETObjectPipe.h:96: error: expected ‘)’ before ‘NSCondition’ > > In file included from > /home/vedam/vedam/c_projects/etoile/Etoile/Frameworks/EtoileFoundation/EtoileFoundation/EtoileFoundation.h:92, > > from ETObjectPipe.m:2: > > > /home/vedam/vedam/c_projects/etoile/Etoile/Frameworks/EtoileFoundation/EtoileXML/ETXMLWriter.h:9: > error: expected specifier-qualifier-list before ‘NSCondition’ > > ETObjectPipe.m: In function ‘-[ETObjectPipe init]’: > > ETObjectPipe.m:130: error: ‘requestCondition’ undeclared (first use in > this function) > > ETObjectPipe.m:130: error: (Each undeclared identifier is reported only > once > > ETObjectPipe.m:130: error: for each function it appears in.) > > ETObjectPipe.m:130: error: ‘NSCondition’ undeclared (first use in this > function) > > ETObjectPipe.m:131: error: ‘replyCondition’ undeclared (first use in this > function) > > > > I'm trying to compile Etoile Ubuntu 9.10 (Karmic Koala). From the looks > of it, it might be because of the version of gnustep that is installed is > older than what's in Subversion since NSCondition doesn't look like to be > part of the GNUstep Base API (at least when I was looking for it in the > GNUStep Base documentation it wasn't present there). I just want to confirm > that is the case. > > > > Ram > > Yes, Etoile currently needs the latest version of GNUstep from subversion. > You'll have to uninstall your current copy of GNUstep and check out + > install from subversion. > > > Here's my easy GNUstep install guide if you haven't built GNUstep from > source before: > > in core/make: > ./configure && make && sudo -E make install > . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh > echo ". /usr/GNUstep/System/Library/Makefiles/GNUstep.sh" >> ~/.bashrc > > in core/base, and core/gui: > ./configure && make && sudo -E make install > > in core/back: > ./configure --enable-graphics=cairo && make && sudo -E make install > > > To update it in the future you can just do an svn up, and > make && sudo -E make install > in core/make, core/base, core/gui, and core/back > > -Eric > >
_______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
