On Wed, May 29, 2013 at 08:44:51AM +0000, Niels Grewe wrote:
> 
> On 29.05.2013 10:06CEST Philippe Roussel <[email protected]> wrote:
> 
> > Hi Niels,
> > 
> > On Wed, May 29, 2013 at 07:27:09AM +0000, Niels Grewe wrote:
> >>> Compiling with clang is tempting but it seems people in the clang camp
> >>> are moving too fast : I can't compike dbuskit with clang 3.0 from
> >>> ubuntu 12.10 for example.
> >> 
> >> Woopsie. I still had local changes to dbuskit for some clang problems. I 
> >> committed them now. My intention is that DBusKit trunk should always 
> >> compile cleanly both with (recent-ish, I guess) gcc and clang. If it 
> >> doesn't: Please complain loudly ;-)
> > 
> > Ok, you asked for it !
> 
> Sure :-)
> 
> > Errors compiling dbuskit after svn up; make distclean; ./configure
> > 
> > DKMethod.m:211:19: error: implicit declaration of function 
> > 'clang_Cursor_getNumArguments' is invalid in C99 
> > [-Werror,-Wimplicit-function-declaration]
> >  int argCount  = clang_Cursor_getNumArguments(cursor);
> >                  ^
> > DKMethod.m:214:20: error: implicit declaration of function 
> > 'clang_Cursor_getArgument' is invalid in C99 
> > [-Werror,-Wimplicit-function-declaration]
> >    CXCursor arg = clang_Cursor_getArgument(cursor, i);
> >                   ^
> > DKMethod.m:214:14: error: initializing 'CXCursor' with an expression of 
> > incompatible type 'int'; 
> >    CXCursor arg = clang_Cursor_getArgument(cursor, i);
> >             ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> That could be an incorrectly detected libclang. Is it installed? Could you 
> send me your config.log?

Here it is.

Philippe
-- 
What's tan and black and looks great on a lawyer? A doberman.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.60.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = woody
uname -m = i686
uname -r = 3.9.4
uname -s = Linux
uname -v = #2 SMP Sun May 26 22:51:51 CEST 2013

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/philou/GNUstep/Tools
PATH: /opt/GNUstep-trunk/bin
PATH: /usr/lib/lightdm/lightdm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1953: checking build system type
configure:1971: result: i686-pc-linux-gnu
configure:1993: checking host system type
configure:2008: result: i686-pc-linux-gnu
configure:2078: checking for gcc
configure:2105: result: clang
configure:2343: checking for C compiler version
configure:2350: clang --version >&5
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: i386-pc-linux-gnu
Thread model: posix
configure:2353: $? = 0
configure:2360: clang -v >&5
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: i386-pc-linux-gnu
Thread model: posix
configure:2363: $? = 0
configure:2370: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:2373: $? = 1
configure:2396: checking for C compiler default output file name
configure:2423: clang    conftest.c  >&5
configure:2426: $? = 0
configure:2472: result: a.out
configure:2477: checking whether the C compiler works
configure:2487: ./a.out
configure:2490: $? = 0
configure:2507: result: yes
configure:2514: checking whether we are cross compiling
configure:2516: result: no
configure:2519: checking for suffix of executables
configure:2526: clang -o conftest    conftest.c  >&5
configure:2529: $? = 0
configure:2553: result: 
configure:2559: checking for suffix of object files
configure:2585: clang -c   conftest.c >&5
configure:2588: $? = 0
configure:2611: result: o
configure:2615: checking whether we are using the GNU C compiler
configure:2644: clang -c   conftest.c >&5
configure:2650: $? = 0
configure:2657: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2660: $? = 0
configure:2667: test -s conftest.o
configure:2670: $? = 0
configure:2684: result: yes
configure:2689: checking whether clang accepts -g
configure:2719: clang -c -g  conftest.c >&5
configure:2725: $? = 0
configure:2732: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2735: $? = 0
configure:2742: test -s conftest.o
configure:2745: $? = 0
configure:2875: result: yes
configure:2892: checking for clang option to accept ISO C89
configure:2966: clang  -c -g -O2  conftest.c >&5
configure:2972: $? = 0
configure:2979: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2982: $? = 0
configure:2989: test -s conftest.o
configure:2992: $? = 0
configure:3012: result: none needed
configure:3030: checking for a sed that does not truncate output
configure:3109: result: /bin/sed
configure:3127: checking for grep that handles long lines and -e
configure:3201: result: /bin/grep
configure:3206: checking for egrep
configure:3284: result: /bin/grep -E
configure:3289: checking for fgrep
configure:3367: result: /bin/grep -F
configure:3402: checking for ld used by clang
configure:3469: result: /usr/bin/ld
configure:3478: checking if the linker (/usr/bin/ld) is GNU ld
configure:3493: result: yes
configure:3505: checking for BSD- or MS-compatible name lister (nm)
configure:3554: result: /usr/bin/nm -B
configure:3676: checking the name lister (/usr/bin/nm -B) interface
configure:3683: clang -c -g -O2  conftest.c >&5
configure:3686: /usr/bin/nm -B "conftest.o"
configure:3689: output
00000000 B some_variable
configure:3696: result: BSD nm
configure:3699: checking whether ln -s works
configure:3703: result: yes
configure:3711: checking the maximum length of command line arguments
configure:3831: result: 1572864
configure:3848: checking whether the shell understands some XSI constructs
configure:3858: result: yes
configure:3862: checking whether the shell understands "+="
configure:3868: result: yes
configure:3903: checking for /usr/bin/ld option to reload object files
configure:3910: result: -r
configure:3979: checking for objdump
configure:3995: found /usr/bin/objdump
configure:4006: result: objdump
configure:4042: checking how to recognize dependent libraries
configure:4238: result: pass_all
configure:4298: checking for ar
configure:4314: found /usr/bin/ar
configure:4325: result: ar
configure:4407: checking for strip
configure:4423: found /usr/bin/strip
configure:4434: result: strip
configure:4510: checking for ranlib
configure:4526: found /usr/bin/ranlib
configure:4537: result: ranlib
configure:4631: checking command to parse /usr/bin/nm -B output from clang 
object
configure:4749: clang -c -g -O2  conftest.c >&5
configure:4752: $? = 0
configure:4756: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[   
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:4759: $? = 0
configure:4813: clang -o conftest -g -O2   conftest.c conftstm.o >&5
configure:4816: $? = 0
configure:4854: result: ok
configure:5765: checking how to run the C preprocessor
configure:5805: clang -E  conftest.c
configure:5811: $? = 0
configure:5849: clang -E  conftest.c
conftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:5855: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5895: result: clang -E
configure:5924: clang -E  conftest.c
configure:5930: $? = 0
configure:5968: clang -E  conftest.c
conftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:5974: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6019: checking for ANSI C header files
configure:6049: clang -c -g -O2  conftest.c >&5
configure:6055: $? = 0
configure:6062: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6065: $? = 0
configure:6072: test -s conftest.o
configure:6075: $? = 0
configure:6171: clang -o conftest -g -O2   conftest.c  >&5
configure:6174: $? = 0
configure:6180: ./conftest
configure:6183: $? = 0
configure:6200: result: yes
configure:6224: checking for sys/types.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6224: checking for sys/stat.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6224: checking for stdlib.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6224: checking for string.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6224: checking for memory.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6224: checking for strings.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6224: checking for inttypes.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6224: checking for stdint.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6224: checking for unistd.h
configure:6245: clang -c -g -O2  conftest.c >&5
configure:6251: $? = 0
configure:6258: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6261: $? = 0
configure:6268: test -s conftest.o
configure:6271: $? = 0
configure:6284: result: yes
configure:6300: checking for dlfcn.h
configure:6321: clang -c -g -O2  conftest.c >&5
configure:6327: $? = 0
configure:6334: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:6337: $? = 0
configure:6344: test -s conftest.o
configure:6347: $? = 0
configure:6360: result: yes
configure:6544: checking for objdir
configure:6559: result: .libs
configure:6851: checking if clang supports -fno-rtti -fno-exceptions
configure:6869: clang -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
configure:6873: $? = 0
configure:6886: result: yes
configure:6906: checking for clang option to produce PIC
configure:7178: result: -fPIC -DPIC
configure:7190: checking if clang PIC flag -fPIC -DPIC works
configure:7208: clang -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:7212: $? = 0
configure:7225: result: yes
configure:7249: checking if clang static flag -static works
configure:7277: result: yes
configure:7292: checking if clang supports -c -o file.o
configure:7313: clang -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:7317: $? = 0
configure:7339: result: yes
configure:7347: checking if clang supports -c -o file.o
configure:7394: result: yes
configure:7427: checking whether the clang linker (/usr/bin/ld) supports shared 
libraries
configure:8542: result: yes
configure:8579: checking whether -lc should be explicitly linked in
configure:8584: clang -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8602: clang -shared conftest.o  -v -Wl,-soname -Wl,conftest -o 
conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:8605: $? = 0
configure:8617: result: no
configure:8781: checking dynamic linker characteristics
configure:9224: clang -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:9230: $? = 0
configure:9237: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:9240: $? = 0
configure:9247: test -s conftest
configure:9250: $? = 0
configure:9488: result: GNU/Linux ld.so
configure:9590: checking how to hardcode library paths into programs
configure:9615: result: immediate
configure:10532: checking whether stripping libraries is possible
configure:10537: result: yes
configure:10572: checking if libtool supports shared libraries
configure:10574: result: yes
configure:10577: checking whether to build shared libraries
configure:10598: result: yes
configure:10601: checking whether to build static libraries
configure:10605: result: yes
configure:10649: checking target system type
configure:10664: result: i686-pc-linux-gnu
configure:10817: checking for C compiler version
configure:10824: clang --version >&5
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: i386-pc-linux-gnu
Thread model: posix
configure:10827: $? = 0
configure:10834: clang -v >&5
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: i386-pc-linux-gnu
Thread model: posix
configure:10837: $? = 0
configure:10844: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:10847: $? = 1
configure:10850: checking whether we are using the GNU C compiler
configure:10919: result: yes
configure:10924: checking whether clang accepts -g
configure:11110: result: yes
configure:11127: checking for clang option to accept ISO C89
configure:11247: result: none needed
configure:11265: checking for clang option to accept ISO C99
configure:11395: clang  -c -g -O2  conftest.c >&5
configure:11401: $? = 0
configure:11408: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:11411: $? = 0
configure:11418: test -s conftest.o
configure:11421: $? = 0
configure:11441: result: none needed
configure:11459: checking how to run the C preprocessor
configure:11589: result: clang -E
configure:11618: clang -E  conftest.c
configure:11624: $? = 0
configure:11662: clang -E  conftest.c
conftest.c:20:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:11668: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:11766: checking for clang
configure:11782: found /usr/bin/clang
configure:11793: result: clang
configure:11822: checking for Objective C compiler version
configure:11829: clang --version >&5
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: i386-pc-linux-gnu
Thread model: posix
configure:11832: $? = 0
configure:11839: clang -v >&5
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: i386-pc-linux-gnu
Thread model: posix
configure:11842: $? = 0
configure:11849: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:11852: $? = 1
configure:11855: checking whether we are using the GNU Objective C compiler
configure:11884: clang -c   conftest.m >&5
configure:11890: $? = 0
configure:11897: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:11900: $? = 0
configure:11907: test -s conftest.o
configure:11910: $? = 0
configure:11924: result: yes
configure:11929: checking whether clang accepts -g
configure:11959: clang -c -g  conftest.m >&5
configure:11965: $? = 0
configure:11972: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:11975: $? = 0
configure:11982: test -s conftest.o
configure:11985: $? = 0
configure:12115: result: yes
configure:12197: checking for pkg-config
configure:12215: found /usr/bin/pkg-config
configure:12227: result: /usr/bin/pkg-config
configure:12256: checking pkg-config is at least version 0.9.0
configure:12259: result: yes
configure:12273: checking whether the compiler supports atomic operations
configure:12296: clang -c -g -O2  conftest.c >&5
configure:12302: $? = 0
configure:12309: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:12312: $? = 0
configure:12319: test -s conftest.o
configure:12322: $? = 0
configure:12334: result: yes
configure:12508: checking for DBUS
configure:12515: $PKG_CONFIG --exists --print-errors "dbus-1"
configure:12518: $? = 0
configure:12531: $PKG_CONFIG --exists --print-errors "dbus-1"
configure:12534: $? = 0
configure:12571: result: yes
configure:12597: checking how to run the Objective C preprocessor
configure:12633: clang -E  -Werror -I/usr/include/dbus-1.0 
-I/usr/lib/i386-linux-gnu/dbus-1.0/include   conftest.m
configure:12639: $? = 0
configure:12677: clang -E  -Werror -I/usr/include/dbus-1.0 
-I/usr/lib/i386-linux-gnu/dbus-1.0/include   conftest.m
conftest.m:20:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:12683: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:12723: result: clang -E
configure:12752: clang -E  -Werror -I/usr/include/dbus-1.0 
-I/usr/lib/i386-linux-gnu/dbus-1.0/include   conftest.m
configure:12758: $? = 0
configure:12796: clang -E  -Werror -I/usr/include/dbus-1.0 
-I/usr/lib/i386-linux-gnu/dbus-1.0/include   conftest.m
conftest.m:20:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^
1 error generated.
configure:12802: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:12862: checking dbus/dbus.h usability
configure:12879: clang -c -g -O2  -Werror -I/usr/include/dbus-1.0 
-I/usr/lib/i386-linux-gnu/dbus-1.0/include   conftest.m >&5
configure:12885: $? = 0
configure:12892: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:12895: $? = 0
configure:12902: test -s conftest.o
configure:12905: $? = 0
configure:12916: result: yes
configure:12920: checking dbus/dbus.h presence
configure:12935: clang -E  -Werror -I/usr/include/dbus-1.0 
-I/usr/lib/i386-linux-gnu/dbus-1.0/include   conftest.m
configure:12941: $? = 0
configure:12962: result: yes
configure:12990: checking for dbus/dbus.h
configure:12998: result: yes
configure:13022: checking whether the compiler supports 
-Wno-deprecated-declarations
configure:13047: clang -c -g -O2  conftest.m >&5
configure:13053: $? = 0
configure:13060: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:13063: $? = 0
configure:13070: test -s conftest.o
configure:13073: $? = 0
configure:13086: result: yes
configure:13120: checking clang-c/Index.h usability
configure:13137: clang -c -g -O2  conftest.m >&5
configure:13143: $? = 0
configure:13150: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:13153: $? = 0
configure:13160: test -s conftest.o
configure:13163: $? = 0
configure:13174: result: yes
configure:13178: checking clang-c/Index.h presence
configure:13193: clang -E  conftest.m
configure:13199: $? = 0
configure:13220: result: yes
configure:13248: checking for clang-c/Index.h
configure:13256: result: yes
configure:13271: checking for clang_visitChildren in -lclang
configure:13306: clang -o conftest -g -O2   conftest.m -lclang   >&5
configure:13312: $? = 0
configure:13319: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:13322: $? = 0
configure:13329: test -s conftest
configure:13332: $? = 0
configure:13346: result: yes
configure:13406: checking ObjectiveC2/runtime.h usability
configure:13423: clang -c -g -O2  -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 
-DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 
-fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS 
-pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime 
-fconstant-string-class=NSConstantString -I. 
-I/home/philou/GNUstep/Library/Headers -I/opt/GNUstep-trunk/include -Werror 
conftest.m >&5
conftest.m:56:10: fatal error: 'ObjectiveC2/runtime.h' file not found
#include <ObjectiveC2/runtime.h>
         ^
1 error generated.
configure:13429: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DBUS_DBUS_H 1
| #define HAVE_CLANG_C_INDEX_H 1
| #define HAVE_LIBCLANG 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #if HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ObjectiveC2/runtime.h>
configure:13460: result: no
configure:13464: checking ObjectiveC2/runtime.h presence
configure:13479: clang -E  -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 
-DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 
-fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS 
-pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime 
-fconstant-string-class=NSConstantString -I. 
-I/home/philou/GNUstep/Library/Headers -I/opt/GNUstep-trunk/include -Werror 
conftest.m
conftest.m:23:10: fatal error: 'ObjectiveC2/runtime.h' file not found
#include <ObjectiveC2/runtime.h>
         ^
1 error generated.
configure:13485: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DBUS_DBUS_H 1
| #define HAVE_CLANG_C_INDEX_H 1
| #define HAVE_LIBCLANG 1
| /* end confdefs.h.  */
| #include <ObjectiveC2/runtime.h>
configure:13506: result: no
configure:13534: checking for ObjectiveC2/runtime.h
configure:13542: result: no
configure:13575: checking objc/runtime.h usability
configure:13592: clang -c -g -O2  -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 
-DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 
-fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS 
-pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime 
-fconstant-string-class=NSConstantString -I. 
-I/home/philou/GNUstep/Library/Headers -I/opt/GNUstep-trunk/include -Werror 
conftest.m >&5
configure:13598: $? = 0
configure:13605: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:13608: $? = 0
configure:13615: test -s conftest.o
configure:13618: $? = 0
configure:13629: result: yes
configure:13633: checking objc/runtime.h presence
configure:13648: clang -E  -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 
-DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 
-fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS 
-pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime 
-fconstant-string-class=NSConstantString -I. 
-I/home/philou/GNUstep/Library/Headers -I/opt/GNUstep-trunk/include -Werror 
conftest.m
configure:13654: $? = 0
configure:13675: result: yes
configure:13703: checking for objc/runtime.h
configure:13711: result: yes
configure:13739: checking for objc/encoding.h
configure:13767: clang -c -g -O2  -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 
-DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 
-fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS 
-pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime 
-fconstant-string-class=NSConstantString -I. 
-I/home/philou/GNUstep/Library/Headers -I/opt/GNUstep-trunk/include -Werror 
conftest.m >&5
configure:13773: $? = 0
configure:13780: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:13783: $? = 0
configure:13790: test -s conftest.o
configure:13793: $? = 0
configure:13806: result: yes
configure:13834: checking for sel_getType_np
configure:13890: clang -o conftest -g -O2   -rdynamic -pthread -fexceptions 
-fgnu-runtime -L/home/philou/GNUstep/Library/Libraries -L/opt/GNUstep-trunk/lib 
-lobjc -lm conftest.m -rdynamic -pthread -fexceptions -fgnu-runtime 
-L/home/philou/GNUstep/Library/Libraries -L/opt/GNUstep-trunk/lib -lobjc -lm >&5
configure:13896: $? = 0
configure:13903: test -z "$ac_objc_werror_flag" || test ! -s conftest.err
configure:13906: $? = 0
configure:13913: test -s conftest
configure:13916: $? = 0
configure:13930: result: yes
configure:14213: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.60.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on woody

config.status:802: creating config.make
config.status:802: creating Source/config.h
config.status:982: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_DBUS_CFLAGS_set=
ac_cv_env_DBUS_CFLAGS_value=
ac_cv_env_DBUS_LIBS_set=
ac_cv_env_DBUS_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJCPP_set=
ac_cv_env_OBJCPP_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_sel_getType_np=yes
ac_cv_header_ObjectiveC2_runtime_h=no
ac_cv_header_clang_c_Index_h=yes
ac_cv_header_dbus_dbus_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_objc_encoding_h=yes
ac_cv_header_objc_runtime_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_clang_clang_visitChildren=yes
ac_cv_objc_compiler_gnu=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_prog_CPP='clang -E'
ac_cv_prog_OBJCPP='clang -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=clang
ac_cv_prog_ac_ct_OBJC=clang
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=
ac_cv_prog_cc_g=yes
ac_cv_prog_objc_g=yes
ac_cv_target=i686-pc-linux-gnu
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  
{\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  
{"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ 
]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ 
]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ 
]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int 
\1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
pkg_cv_DBUS_CFLAGS='-I/usr/include/dbus-1.0 
-I/usr/lib/i386-linux-gnu/dbus-1.0/include  '
pkg_cv_DBUS_LIBS='-ldbus-1  '

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
ATOMIC_CFLAGS=''
C99_FLAGS=''
CC='clang'
CFLAGS='-g -O2'
CPP='clang -E'
CPPFLAGS=''
DBUS_CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include 
 '
DBUS_LIBS='-ldbus-1  '
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DBUS_DBUS_H=1 
-DHAVE_CLANG_C_INDEX_H=1 -DHAVE_LIBCLANG=1 -DHAVE_OBJC_RUNTIME_H=1 
-DHAVE_OBJC_ENCODING_H=1 -DHAVE_SEL_GETTYPE_NP=1'
DISABLE_TYPED_SELECTORS='0'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
HAVE_LIBCLANG='1'
HAVE_OBJC_ENCODING_H='1'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS='-rdynamic -pthread -fexceptions -fgnu-runtime 
-L/home/philou/GNUstep/Library/Libraries -L/opt/GNUstep-trunk/lib -lobjc -lm'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MORE_LIBS=' -lclang'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJC='clang'
OBJCFLAGS='-g -O2'
OBJCPP='clang -E'
OBJC_RUNTIME_H='objc/runtime.h'
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='ranlib'
SED='/bin/sed'
SHELL='/bin/bash'
STRIP='strip'
USE_SEL_GETTYPEENCODING='0'
WARN_FLAGS='-Wall -Wno-deprecated-declarations'
ac_ct_CC='clang'
ac_ct_DUMPBIN=''
ac_ct_OBJC='clang'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_DBUS_DBUS_H 1
#define HAVE_CLANG_C_INDEX_H 1
#define HAVE_LIBCLANG 1
#define HAVE_OBJC_RUNTIME_H 1
#define HAVE_OBJC_ENCODING_H 1
#define HAVE_SEL_GETTYPE_NP 1

configure: exit 0
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to