discuss-gnustep
[Top][All Lists]
Advanced

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

Re: build failure on FreeBSD


From: Fred Kiefer
Subject: Re: build failure on FreeBSD
Date: Thu, 30 Jun 2011 10:46:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

I just run a grep for Headers/Additions in base (after trying to clean up that directory, make distclean leave a lot of stuff behind that should be automatically removed) and found these two places:

../base/macosx/gnustep.pbproj/project.pbxproj: HEADER_SEARCH_PATHS = ". \"${SRCROOT}/../Headers/Additions\" /sw/include /sw/include/libxml2"; ../base/Tools/make_strings/GNUmakefile.preamble:ADDITIONAL_INCLUDE_DIRS += -I../../Headers/Additions \


On 30.06.2011 10:25, David Chisnall wrote:
Ah, actually the problem is related to make_strings specifically.  It still 
looks for Additions/GNUstepBase/preface.h in preference to Additions/preface.h. 
 Unfortunately, when someone (Richard?) deleted Additions, the old preface.h 
file won't have been removed because it was not owned by svn, so it will find 
that one instead of the new one...

David

On 30 Jun 2011, at 09:12, David Chisnall wrote:

You probably need to rerun configure.  I added some qualifiers in various 
places to allow code using ARC to use the GNUstep headers.  In preface.h, there 
is some code that checks if you are using ARC and #defines these qualifiers 
away if you are not, but preface.h seems not to be automatically regenerated by 
make when preface.h.in changes.

David


On 30 Jun 2011, at 08:00, Riccardo Mottola wrote:

Hi,

on FreeBSD with gcc, no GC, standard runtime, I get:

Making all for tool make_strings...
Compiling file make_strings.m ...
In file included from ../../Source/./common.h:34,
                from make_strings.m:23:
../../Headers/Foundation/NSZone.h:78: error: expected specifier-qualifier-list 
before '__unsafe_unretained'
../../Headers/Foundation/NSZone.h:312: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'void'
../../Headers/Foundation/NSZone.h:319: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'void'
In file included from make_strings.m:25:
../../Headers/Foundation/NSAutoreleasePool.h:56: error: expected 
specifier-qualifier-list before '__unsafe_unretained'
../../Headers/Foundation/NSAutoreleasePool.h:95: error: expected 
specifier-qualifier-list before '__unsafe_unretained'
In file included from ../../Headers/Foundation/NSDictionary.h:30,
                from make_strings.m:26:
../../Headers/Foundation/NSEnumerator.h:40: error: expected 
specifier-qualifier-list before '__unsafe_unretained'
gmake[5]: *** [obj/make_strings.obj/make_strings.m.o] Error 1



reply via email to

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