From: CAI Q. <ca...@cc...> - 2009-07-22 12:29:49
|
Hi, There are some more build failures just come across, IA-32: kernel-PAE-2.6.29.4-1.el6 glibc-2.10.1-2 make[5]: Entering directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/security/cap_bound' echo "#!/bin/sh" > checkforlibcap echo true >> checkforlibcap chmod a+rx checkforlibcap gcc -g -O2 -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[5]: *** [cap_bounds_r] Error 1 make[5]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/security/cap_bound' make[4]: *** [all] Error 2 make[4]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/security' make[3]: *** [all] Error 2 make[3]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721' make: *** [build] Error 2 ------- x86_64: kernel-2.6.29.4-1.el6 glibc-2.10.1-2 make[4]: Entering directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/numa' gcc -g -O2 -I../../../include -Wall -DNUMA_VERSION1_COMPATIBILITY numa_node_size.c -L../../../lib -lltp -L../../../lib -lnuma -o numa_node_size numa_node_size.c: In function ‘main’: numa_node_size.c:72: warning: passing argument 1 of ‘nodemask_zero’ from incompatible pointer type /usr/include/numa.h:64: note: expected ‘struct bitmask *’ but argument is of type ‘struct nodemask_t *’ numa_node_size.c:73: warning: implicit declaration of function ‘nodemask_set’ /tmp/ccgm0BPA.o: In function `main': /mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/numa/numa_node_size.c:73: undefined reference to `nodemask_set' collect2: ld returned 1 exit status make[4]: *** [numa_node_size] Error 1 make[4]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/numa' make[3]: *** [all] Error 2 make[3]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721' make: *** [build] Error 2 ------ IA-32: kernel-2.6.9-89.EL.i686 glibc-2.3.4-2.43.i686 make[5]: Entering directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/syscalls/quotactl' gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall quotactl01.c -L../../../../lib -lltp -o quotactl01 quotactl01.c:124: error: `Q_GETINFO' undeclared here (not in a function) quotactl01.c:124: error: initializer element is not constant quotactl01.c:124: error: (near initialization for `cmd[4]') quotactl01.c:124: error: `Q_SETINFO' undeclared here (not in a function) quotactl01.c:124: error: initializer element is not constant quotactl01.c:124: error: (near initialization for `cmd[5]') quotactl01.c:124: error: `Q_GETFMT' undeclared here (not in a function) quotactl01.c:124: error: initializer element is not constant quotactl01.c:124: error: (near initialization for `cmd[6]') make[5]: *** [quotactl01] Error 1 make[5]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/syscalls/quotactl' make[4]: *** [all] Error 2 make[4]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel/syscalls' make[3]: *** [all] Error 2 make[3]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases/kernel' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721/testcases' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/tests/kernel/distribution/ltp/20090721/ltp-intermediate-20090721' make: *** [build] Error 2 CAI Qian |