I faced 2 build failures on ltp-full-20090331, they are as follows

OS: Fedora11 beta

# uname -a
Linux mjs22lp4.in.ibm.com 2.6.29-0.258.2.3.rc8.git2.fc11.ppc64 #1 SMP Tue
Mar 24 18:41:15 EDT 2009 ppc64 ppc64 ppc64 GNU/Linux

1)
make[5]: Entering directory
`/home/test/ltp-full-20090331/testcases/kernel/io/aio/aio02'
cc -Wall  --static -Wall  -g -O -I../../../../../include -Wall
-DTEST_NAME=\"cases/aio_tio.c\" -o cases/aio_tio main.c
-L../../../../../lib -lltp
main.c: In function ‘main’:
main.c:38: warning: control reaches end of non-void function
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[5]: *** [cases/aio_tio] Error 1
make[5]: Leaving directory
`/home/test/ltp-full-20090331/testcases/kernel/io/aio/aio02'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/test/ltp-full-20090331/testcases/kernel/io/aio'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/test/ltp-full-20090331/testcases/kernel/io'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/test/ltp-full-20090331/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/test/ltp-full-20090331/testcases'
make: *** [all] Error 2

2)
make[4]: Entering directory
`/home/test/ltp-full-20090331/testcases/kernel/syscalls/accept4'
cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
accept4_01.c  -L../../../../lib -lltp -o accept4_01
accept4_01.c:146: error: static declaration of ‘accept4’ follows non-static
declaration
/usr/include/sys/socket.h:222: note: previous declaration of ‘accept4’ was
here
make[4]: *** [accept4_01] Error 1
make[4]: Leaving directory
`/home/test/ltp-full-20090331/testcases/kernel/syscalls/accept4'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/test/ltp-full-20090331/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/test/ltp-full-20090331/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/test/ltp-full-20090331/testcases'
make: *** [all] Error 2


Thanks
Pavan
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to