Hi,

I tried building LTP-20120614 on CentOS5 but it always failed (see
error message below).  LTP-20120401 builds fine on CentOS5.

make[3]: Entering directory
`/dev/shm/ltp-full-20120614/testcases/kernel/security'
make[4]: Entering directory
`/dev/shm/ltp-full-20120614/testcases/kernel/security/cap_bound'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/dev/shm/ltp-full-20120614/testcases/kernel/include
-I../../../../include -I../../../../include   -L../../../../lib
cap_bounds_r.c   -lltp  -o cap_bounds_r
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/dev/shm/ltp-full-20120614/testcases/kernel/include
-I../../../../include -I../../../../include   -L../../../../lib
cap_bounds_rw.c   -lltp  -o cap_bounds_rw
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/dev/shm/ltp-full-20120614/testcases/kernel/include
-I../../../../include -I../../../../include   -L../../../../lib
cap_bset_inh_bounds.c   -lltp  -o cap_bset_inh_bounds
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/dev/shm/ltp-full-20120614/testcases/kernel/include
-I../../../../include -I../../../../include   -L../../../../lib
check_pe.c   -lltp  -o check_pe
In file included from /usr/include/sys/capability.h:34,
                 from cap_bset_inh_bounds.c:32:
/usr/include/linux/capability.h:70: error: expected
specifier-qualifier-list before ‘__le32’
In file included from /usr/include/sys/capability.h:34,
                 from cap_bounds_rw.c:29:
/usr/include/linux/capability.h:70: error: expected
specifier-qualifier-list before ‘__le32’
In file included from /usr/include/sys/capability.h:34,
                 from cap_bounds_r.c:30:
/usr/include/linux/capability.h:70: error: expected
specifier-qualifier-list before ‘__le32’
In file included from /usr/include/sys/capability.h:34,
                 from check_pe.c:33:
/usr/include/linux/capability.h:70: error: expected
specifier-qualifier-list before ‘__le32’
cap_bset_inh_bounds.c:128:2: warning: no newline at end of file
make[4]: *** [cap_bset_inh_bounds] Error 1
make[4]: *** Waiting for unfinished jobs....
cap_bounds_rw.c: In function ‘main’:
cap_bounds_rw.c:82: warning: unused variable ‘i’
cap_bounds_rw.c:81: warning: unused variable ‘ret’
make[4]: *** [cap_bounds_rw] Error 1
make[4]: *** [cap_bounds_r] Error 1
check_pe.c:88:2: warning: no newline at end of file
make[4]: *** [check_pe] Error 1
make[4]: Leaving directory
`/dev/shm/ltp-full-20120614/testcases/kernel/security/cap_bound'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/dev/shm/ltp-full-20120614/testcases/kernel/security'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/dev/shm/ltp-full-20120614/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/dev/shm/ltp-full-20120614/testcases'
make: *** [testcases-all] Error 2


I found:
http://osdir.com/ml/debian-bugs-dist/2009-12/msg00664.html
https://bugs.gentoo.org/show_bug.cgi?id=264770

But still can't figure out how to fix the issue.
Any idea?

Thanks
Romu

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to