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
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to