gnustep-dev
[Top][All Lists]
Advanced

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

Base configure fails


From: Truls Becken
Subject: Base configure fails
Date: Wed, 18 Apr 2012 22:40:53 +0200

Hi list,

I'm trying to build from trunk with Clang 3.0 release and libobjc2, but get
"checking whether objc really works... no" while configuring base.
In config.log I get:

configure:12880: checking whether objc really works
configure:12910: clang -o conftest -g -O2  -I/System/Library/Headers
-I/Local/Library/Headers -I/Local/Library/Headers
-I/Local/Library/Headers  -fgnu-runtime -x objective-c
-L/System/Library/Libraries -L/Local/Library/Libraries
-L/Local/Library/Libraries -L/Local/Library/Libraries conftest.c -lrt
-ldl  -lpthread -rdynamic -pthread -shared-libgcc -fexceptions
-fgnu-runtime -L/home/tbe/GNUstep/Library/Libraries
-L/Local/Library/Libraries -L/System/Library/Libraries -lobjc -lm
>&5
clang: warning: argument unused during compilation: '-shared-libgcc'
[warn_drv_unused_argument]
/System/Library/Libraries/libobjc.so: error: undefined reference to
'__i686.get_pc_thunk.bx'
clang: error: linker command failed with exit code 1 (use -v to see
invocation) [err_drv_command_failed]

Building with libobjc from GCC works if I point Clang to the GCC objc headers.
What am I doing wrong?

-Truls



reply via email to

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