On Wed, Nov 3, 2010 at 4:31 AM, hake huang <hakehu...@gmail.com> wrote: > 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
It's fixed now. Thanks, -Garrett ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list