public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] About "realtime" build failure
@ 2010-11-11  6:58 Mitani
  2010-11-11  7:57 ` Subrata Modak
  2010-11-11  8:42 ` Garrett Cooper
  0 siblings, 2 replies; 7+ messages in thread
From: Mitani @ 2010-11-11  6:58 UTC (permalink / raw)
  To: ltp-list

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
------------

I confirmed that above error is dissolved by following revision:
------------
[root@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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <4D0672E6.9000100@ams.org>]

end of thread, other threads:[~2010-12-13 19:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Act3O838preomyfuTIOsmPN0ITLHHQ==>
2010-10-29  7:35 ` [LTP] About "realtime" build failure Mitani
2010-11-08 21:51   ` Garrett Cooper
2010-11-09  1:41     ` Mitani
2010-11-11  6:58 Mitani
2010-11-11  7:57 ` Subrata Modak
2010-11-11  8:42 ` Garrett Cooper
     [not found] <4D0672E6.9000100@ams.org>
2010-12-13 19:42 ` [LTP] About \"realtime\" " Garrett Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox