Hi, Build error occured with recent git "ltp-a997c94.tar.gz". This failure was caused by "realtime" as follows: ------------ [r...@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 ------------
I confirmed that above error is dissolved by following revision: ------------ [r...@rhel48-ltp-x86 ltp-dev-20101111]# diff -u testcases/Makefile.org testcases/Makefile --- testcases/Makefile.org 2010-11-11 14:20:07.000000000 +0900 +++ testcases/Makefile 2010-11-11 14:21:25.000000000 +0900 @@ -37,7 +37,7 @@ # original list of disabled items... # XXX (garrcoop): kdump was in this list. # XXX (garrcoop): open_hpi_testsuite was in this list. -ifeq ($(UCLINUX),1) +ifneq ($(UCLINUX),1) FILTER_OUT_DIRS += realtime endif ------------ Is realtime necessary? Please revise it if there is not problem. Regards-- -Tomonori Mitani ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
