discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Problems configuring!


From: Lars Sonchocky-Helldorf
Subject: Fwd: Problems configuring!
Date: Fri, 6 Jan 2006 15:42:45 +0100

Could you please help this guy? I currently don't have the time (working on my final thesis).

regards, Lars

Anfang der weitergeleiteten E-Mail:

Von: joekewoud_@joekewoud.nl
Datum: Fr, 30. Dez 2005  23:18:56 Europe/Berlin
An: <lars.sonchocky-helldorf@hamburg.de>
Betreff: Re: Problems configuring!

Dear Lars,

I have the same problem with the headers that conflict with the gnustep
headers while trying to compile gnustep-gui.
Is gnustep somehow already available without installing it. Or is it just
the cocoa headers.
I moved the /System/Library/Frameworks/Foundation.framwork/Headers out of
the way, but then I get these errors.

banana:/zooi/gnustep-startup-0.13.0/build/gnustep-gui-0.10.1 root# make
Making all in Source...
Making all for library libgnustep-gui...
 Compiling file Functions.m ...
Functions.m:29:42: error: Foundation/NSAutoreleasePool.h: No such file or
directory
Functions.m:30:33: error: Foundation/NSBundle.h: No such file or directory
Functions.m:31:38: error: Foundation/NSProcessInfo.h: No such file or
directory
In file included from ../Headers/AppKit/NSApplication.h:41,
                 from Functions.m:33:
../Headers/AppKit/NSResponder.h:32:33: error: Foundation/NSObject.h: No such
file or directory
In file included from ../Headers/AppKit/NSApplication.h:41,
                 from Functions.m:33:
../Headers/AppKit/NSResponder.h:42: error: cannot find interface declaration
for 'NSObject', superclass of 'NSResponder'
../Headers/AppKit/NSResponder.h:42: error: cannot find protocol declaration
for 'NSCoding'
../Headers/AppKit/NSResponder.h:96: error: syntax error before 'BOOL'
../Headers/AppKit/NSResponder.h:97: error: syntax error before 'BOOL'
../Headers/AppKit/NSResponder.h:98: error: syntax error before 'BOOL'
../Headers/AppKit/NSResponder.h:103: error: syntax error before 'BOOL'
../Headers/AppKit/NSResponder.h:104: error: syntax error before 'BOOL'
../Headers/AppKit/NSResponder.h:109: fatal error: method definition not in
@implementation context
compilation terminated.
make[2]: *** [shared_obj/Functions.o] Error 1
make[1]: *** [libgnustep-gui.all.library.variables] Error 2
make: *** [internal-all] Error 2

I am using macosx 10.4.3 on apples intel development platform

I hope you can give me a hint. Cause I am close to dispair!

Thanks!


Ewoud Kappers








Am Mittwoch, 27.07.05 um 13:00 Uhr schrieb Jeannette Gorrin:

Thanks to your advice, i could configure, but now i
have problems with 'make'. I read the whole
README.Darwin file, but i can't figure out what
happened. I configured with this options:
--disable-gsnd CC='/usr/bin/gcc'
--with-jpeg-library=/sw/lib
--with-jpeg-include=/sw/include

The following error appears:

make
Making all in Source...
/usr/GNUstep/System/Library/Makefiles/mkinstalldirs .
mv ../Headers/Additions/GNUstepGUI/config.h .
touch ./config.h
Making all for library libgnustep-gui...
Compiling file Functions.m ...
In file included from
../Headers/Additions/GNUstepGUI/GSMethodTable.h:28,
from
../Headers/AppKit/NSGraphicsContext.h:107,
from Functions.m:35:
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:10:
error: redefinition of `struct _NSPoint'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:18:
error: redefinition of `struct _NSSize'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:26:
error: redefinition of `struct _NSRect'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:34:
error: redeclaration of `enum _NSRectEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:35:
error: conflicting types for `NSMinXEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:35:
error: previous declaration of `NSMinXEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:36:
error: conflicting types for `NSMinYEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:36:
error: previous declaration of `NSMinYEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:37:
error: conflicting types for `NSMaxXEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:37:
error: previous declaration of `NSMaxXEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:39:
error: conflicting types for `NSMaxYEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:39:
error: previous declaration of `NSMaxYEdge'
/System/Library/Frameworks/Foundation.framework/Headers/ NSGeometry.h:39:
confused by earlier errors, bailing out
make[2]: *** [shared_obj/Functions.o] Error 1
make[1]: *** [libgnustep-gui.all.library.variables]
Error 2
make: *** [internal-all] Error 2

Can you or anyone help me?


gnustep-make / the compiler sees your Cocoa headers in
/System/Library/Frameworks/Foundation.framework/Headers/ which interfere with the GNUstep ones cause both define the same API. That is what happens.
But I don't know how to avoid it though.


Thanks.

regards, Lars







reply via email to

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