gnustep-dev
[Top][All Lists]
Advanced

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

Re: failure to build base on debian


From: Riccardo Mottola
Subject: Re: failure to build base on debian
Date: Wed, 18 May 2011 11:17:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Icedove/3.1.10

Hi,

correct, I reverted to r33026 and base compiles and all other things compile too.

Riccardo

On 05/18/2011 10:16 AM, Eric Wasylishen wrote:
Hi Riccardo,
I am using debian with gcc 4.6 and GNUstep was working fine for me, but I haven't 
updated base in about a week. Looks like r33027 on may 12 added the 
#import<objc/encoding.h>
to cifframe.m which broke the build for gcc46.
Eric


On 2011-05-18, at 1:12 AM, Riccardo Mottola wrote:

Hi,

I tried cleaning and reconfiguring and reinstallng make and base, but it still 
doesn't work.

Do we support gcc 4.6 at all? Apparently the headers get upset if we try to use 
both runtimes.

Riccardo

On 05/17/2011 11:49 AM, Riccardo Mottola wrote:
Hi,

I upgraded debian and now I cannot build base anymore:

Compiling file cifframe.m ...
In file included from 
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/encoding.h:37:0,
                 from cifframe.m:27:
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/objc-api.h:46:3: error: #error 
You can not include both objc/objc-api.h and objc/runtime.h. Include 
objc/objc-api.h for the traditional GNU Objective-C Runtime API and 
objc/runtime.h for the modern one.
In file included from 
/usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/encoding.h:37:0,
                 from cifframe.m:27:
...


gcc --version
gcc (Debian 4.6.0-7) 4.6.1 20110507 (prerelease)



Any ideas ?

Riccardo





reply via email to

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