discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Ubuntu and Debian packages / 2013-07-07


From: Fred Kiefer
Subject: Re: Ubuntu and Debian packages / 2013-07-07
Date: Mon, 08 Jul 2013 22:17:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 08.07.2013 15:44, Philippe Roussel wrote:
Hi Ivan,

On Mon, Jul 08, 2013 at 02:37:26PM +0200, Ivan Vučica wrote:
I'm interested in what broke with CoreBase/Opal/QuartzCore?

CoreBase compilation failed with the following message (I haven't
looked at it, I'm lazy...) and Opal and QuartzCore depend on
CoreBase.

Making all for library libgnustep-corebase...
cd .; \
        /usr/share/GNUstep/Makefiles/mkinstalldirs 
./obj/libgnustep-corebase.obj/
gcc CFArray.c -c \
              -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 
-DGNUSTEP_BASE_LIBRARY=1 -pthread -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE 
-Wno-import -g -O2 -DBUILDING_SELF -I../Headers -I. 
-I/usr/local/include/GNUstep -I/usr/include/GNUstep \
               -o obj/libgnustep-corebase.obj/CFArray.c.o
In file included from ../Headers/CoreFoundation/CFBase.h:52:0,
                  from ../Headers/CoreFoundation/CFRuntime.h:30,
                  from CFArray.c:27:
/usr/include/GNUstep/GNUstepBase/GSVersionMacros.h:208:2: warning: #import is a 
deprecated GCC extension [-Wdeprecated]
In file included from CFArray.c:30:0:
../Headers/CoreFoundation/CFString.h:192:3: error: unknown type name 
'CFLocaleRef'
../Headers/CoreFoundation/CFString.h:457:51: error: unknown type name 
'CFLocaleRef'
../Headers/CoreFoundation/CFString.h:478:50: error: unknown type name 
'CFLocaleRef'
../Headers/CoreFoundation/CFString.h:502:50: error: unknown type name 
'CFLocaleRef'
In file included from CFArray.c:31:0:
GSPrivate.h:314:31: error: unknown type name 'CFLocaleRef'
make[5]: *** [obj/libgnustep-corebase.obj/CFArray.c.o] Error 1

This problem was most likely caused when Richard removed the definition of MAC_OS_X_VERSION_MAX_ALLOWED from GSVersionMacros.h. His reasoning was that this macro never gets used in the GNUstep code, which as now is obvious wasn't the case. At about the same time Ivan replaced the local definitions of the version macros in CFBase.h with an include of GSVersionMacros.h, because they did no longer match the GNUstep base ones. Most likely it will be sufficient to define MAC_OS_X_VERSION_MAX_ALLOWED after that, if it hasn't already been defined by the compiler.

Fred





reply via email to

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