Hi, when I try to cross compile the ltp git clone git://ltp.git.sourceforge.net/gitroot/ltp/ltp make autotools ./configure --host=arm-none-linux-gnueabi make
the build stops at keyctrl, below is the log, it looks like the ltp now depend on the libkeyutils-dev package, should we avoid this dependency? /usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -DFSL_ARM=1 -g -O2 -fno-strict-aliasing -pipe -Wall -I/home/smb/vte/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib keyctl01.c -lltp -o keyctl01 keyctl01.c:44:22: error: keyutils.h: No such file or directory keyctl01.c: In function 'main': keyctl01.c:117: error: 'key_serial_t' undeclared (first use in this function) keyctl01.c:117: error: (Each undeclared identifier is reported only once keyctl01.c:117: error: for each function it appears in.) keyctl01.c:117: error: expected ';' before 'ne_key' keyctl01.c:144: error: 'ne_key' undeclared (first use in this function) keyctl01.c:144: error: 'INT32_MAX' undeclared (first use in this function) keyctl01.c:144: error: 'INT32_MIN' undeclared (first use in this function) make[4]: *** [keyctl01] Error 1 make[4]: Leaving directory `/home/smb/vte/testcases/kernel/syscalls/keyctl' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/smb/vte/testcases/kernel/syscalls' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/smb/vte/testcases/kernel' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/smb/vte/testcases' make: *** [testcases-all] Error 2 Regards, Hake ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
