Hi Pavan,

On Wed, 2009-04-08 at 11:24 +0530, Pavan Naregundi wrote:
> 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

This is a fedora problem. Even Poornima reported this few days back.
Please check with her.

> 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

However, i will investigate this and come back to you. These set of new
tests were added to LTP recently. But when i compiled them for the March
release on a PPC64 machine, they worked fine. Not sure, whether again a
Fedora issue.

When i ran it on pp64 running kernel 2.6.27.19-5, it gave me the
following expected output:
<<<test_start>>>
tag=accept4_01 stime=1238482978
cmdline="accept4_01"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
accept04_01    1  CONF  :  syscall __NR_accept4 not supported on your
arch
<<<execution_status>>>

You can even check here. There was no build failure:
https://sourceforge.net/project/showfiles.php?group_id=3382&package_id=3308&release_id=672329,

Regards--
Subrata

> 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


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