[LTP] Report - make error of ltp-full-20090531.tgz

GeunSik Lim
2009-06-16T01:13:42Z

Dear Edjunior B. Machado

This is just report mail about ltp-full-20090531 version.
I used http://downloads.sourceforge.net/ltp/ltp-full-20090531.tgz
source on Core2 Quad Q6600 system.
But, I can not finished make command like belows.

* My system information:
. Fedora 11
. 2.6.29.4-167.fc11 linux kernel
. GCC 4.4.0

* This is screenshot.
[invain@f11 ltp-full-20090531]$
[invain@f11 ltp-full-20090531]$ pwd
/opt/ltp-full-20090531
[invain@f11 ltp-full-20090531]$
[invain@f11 ltp-full-20090531]$
[invain@f11 ltp-full-20090531]$ uname -a
Linux localhost.localdomain 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May
27 17:28:22 EDT 2009 i686 i686 i386 GNU/Linux
[invain@f11 ltp-full-20090531]$ gcc --version
gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[invain@f11 ltp-full-20090531]$ time make
................ 윗부분 생략 .....................
make[6]: Leaving directory
`/opt/ltp-full-20090531/testcases/kernel/security/integrity/ima/policy'
make[5]: Leaving directory
`/opt/ltp-full-20090531/testcases/kernel/security/integrity/ima'
make[4]: Leaving directory
`/opt/ltp-full-20090531/testcases/kernel/security/integrity'
make[4]: Entering directory
`/opt/ltp-full-20090531/testcases/kernel/security/cap_bound'
cc -Wall -I../../../../include -Wall cap_bounds_r.c
-L../../../../lib -lltp -lcap -o cap_bounds_r
In file included from cap_bounds_r.c:28:
/usr/include/sys/capability.h:102: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'cap_size'
/usr/include/sys/capability.h:103: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'cap_copy_ext'
/usr/include/sys/capability.h:108: error: expected declaration
specifiers or '...' before 'ssize_t'
/usr/include/sys/capability.h:120: error: expected ')' before 'pid'
/usr/include/sys/capability.h:123: error: expected ')' before 'pid'
cap_bounds_r.c:38:2: warning: #warning CAP_BSET_READ not defined
cap_bounds_r.c:43:2: warning: #warning CAP_BSET_DROP not defined
make[4]: *** [cap_bounds_r] Error 1
make[4]: Leaving directory
`/opt/ltp-full-20090531/testcases/kernel/security/cap_bound'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/ltp-full-20090531/testcases/kernel/security'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/ltp-full-20090531/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/ltp-full-20090531/testcases'
make: *** [all] Error 2

real 0m0.917s
user 0m0.387s
sys 0m0.372s
[invain@f11 ltp-full-20090531]$
[invain@f11 ltp-full-20090531]$
[invain@f11 ltp-full-20090531]$ rpm -qa | grep libcap
libcaptury-devel-0.3.0-0.3.20080323gitcca4e3c.fc11.i586
libcap-2.16-2.fc11.i586
libcapseo-devel-0.3.0-0.2.20081031git431a293.fc11.i586
libcaptury-0.3.0-0.3.20080323gitcca4e3c.fc11.i586
libcapseo-tools-0.3.0-0.2.20081031git431a293.fc11.i586
libcapseo-0.3.0-0.2.20081031git431a293.fc11.i586
libcap-devel-2.16-2.fc11.i586
[invain@f11 ltp-full-20090531]$

--
Regards,
GeunSik Lim ( Samsung Electronics )
Blog : http://blog.naver.com/invain/
e-Mail: geunsik.lim@samsung.com
leemgs@gmail.com , leemgs1@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/