[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot build with libobjc2
From: |
Eric Wasylishen |
Subject: |
Re: Cannot build with libobjc2 |
Date: |
Mon, 1 Nov 2010 15:31:00 -0600 |
Hi Larry,
Unfortunately, the most recent base release isn't libobjc2 compatible. I
believe this is fixed in SVN, though.
Eric
On Nov 1, 2010, at 3:14 PM, Larry Campbell wrote:
> I was able to build and install libobjc2 1.0 itself just fine, but when I try
> to build base (1.20.1), configure fails at this step:
>
> checking whether objc really works... no
>
> because the test program includes objc-common.g, which contains this snippet:
>
> #include <objc/Object.h>
>
> #ifndef NeXT_RUNTIME
> #include <objc/NXConstStr.h>
>
> which includes the NXConstStr.h from my gcc 4.1 installation
> (/usr/lib/gcc/i486-linux-gnu/4.1.2/include/objc/NXConstStr.h); this file
> includes its own objc/Object.h, which conflicts with libobjc2's
> objc/Object.h, and I get:
>
> In file included from
> /usr/lib/gcc/i486-linux-gnu/4.1.2/include/objc/NXConstStr.h:31,
> from ./config/objc-common.g:9,
> from ./config/config.objc.m:2,
> from conftest.c:87:
> /usr/lib/gcc/i486-linux-gnu/4.1.2/include/objc/Object.h:44: error:
> redefinition of 'struct Object'
>
> etc.
>
> Am I missing something obvious? I did do a 'make install' in my libobjc2 dir.
>
> - lc
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep