[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linker flags during configure tests
From: |
Riccardo Mottola |
Subject: |
linker flags during configure tests |
Date: |
Wed, 03 Apr 2013 10:04:34 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 SeaMonkey/2.16.2 |
Hi,
I installed gnustep's version of libobjc and then run configure on make
again.
./configure --with-layout=gnustep --prefix=/opt/GNUstep LIBS="-lrt"
I get though:
checking for the flag to link libobjc... -lobjc
checking whether objc has thread support... no
If I check the failed test, I see:
configure:6221: gcc -o conftest -g -O2 -x objective-c -I.
-I/opt/GNUstep/Syste
m/Library/Headers -L/opt/GNUstep/System/Library/Libraries
-fgnu-runtime -DGNU_RUNTIME conftest.c -lobjc >&5
In file included from conftest.c:8:
config_thread.m:7: warning: incomplete implementation of class
'NXConstantString'
config_thread.m:7: warning: method definition for '-length' not found
config_thread.m:7: warning: method definition for '-cString' not found
Undefined first referenced
symbol in file
sched_yield /opt/GNUstep/System/Library/Libraries/libobjc.so
ld: fatal: Symbol referencing errors. No output written to conftest
This is on Solaris, where sched_yield needs the "-lrt" flag, it looks as
if the test diregards the LIBS variable? Could that be? Or?
Thank you,
Riccardo
- linker flags during configure tests,
Riccardo Mottola <=