From: Garrett C. <yan...@gm...> - 2010-11-11 08:42:58
|
On Wed, Nov 10, 2010 at 10:58 PM, Mitani <mi...@ry...> wrote: > Hi, > > Build error occured with recent git "ltp-a997c94.tar.gz". > This failure was caused by "realtime" as follows: > ------------ > [root@RHEL48-LTP-x86 LTP]# less gitMMDD-makeYYYYMMDD.txt > [...] > make[1]: Entering directory `/home/LTP/ltp-a997c94/lib' > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o cloner.o cloner.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o dataascii.o dataascii.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o databin.o databin.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o datapid.o datapid.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o file_lock.o file_lock.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o forker.o forker.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o get_high_address.o get_high_address.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o get_path.o get_path.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o libtestsuite.o libtestsuite.c > gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I../include > -I../include - > c -o open_flags.o open_flags.c > ...skipping... > p-a997c94/testcases/realtime/include -I../../../../include > -I../../../../include > -L/home/LTP/ltp-a997c94/testcases/realtime/lib -L../../../../lib > async_handl > er.c -lrealtime -lpthread -lrt -lm -o async_handler > In file included from async_handler.c:42: > /home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h: In function > `atomi > c_add': > /home/LTP/ltp-a997c94/testcases/realtime/include/librttest.h:117: warning: > impli > cit declaration of function `__sync_add_and_fetch' > /home/LTP/ltp-a997c94/testcases/realtime/lib/librealtime.a(librttest.o)(.tex > t+0x > 1a7): In function `create_thread': > /home/LTP/ltp-a997c94/testcases/realtime/lib/../include/librttest.h:117: > undefin > ed reference to `__sync_add_and_fetch' > collect2: ld returned 1 exit status > make[4]: *** [async_handler] Error 1 > make[4]: Leaving directory > `/home/LTP/ltp-a997c94/testcases/realtime/func/async_ > handler' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/home/LTP/ltp-a997c94/testcases/realtime/func' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/LTP/ltp-a997c94/testcases/realtime' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/LTP/ltp-a997c94/testcases' > make: *** [testcases-all] Error 2 If you had a more recent compiler this wouldn't be an issue. I guess I'll add another autoconf test -_-... -Garrett |