discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problems configuring!


From: Lars Sonchocky-Helldorf
Subject: Re: Problems configuring!
Date: Wed, 27 Jul 2005 22:16:25 +0200


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]