Hi I'm cross compiling for ARM and I'm wondering how to tell the LTP where to find the correct set of system headers.
Right now the build fails like so: make[5]: Entering directory `/home/qliklas/develop/ltp.git/testcases/kernel/syscalls/timerfd' arm-none-linux-gnueabi-gcc -Wall -I../../include -g -Wall -I../../../../include -Wall timerfd01.c -L../../../../lib -lrt -lltp -o timerfd01 timerfd01.c: In function 'timerfd_create': timerfd01.c:84: error: '__NR_timerfd_create' undeclared (first use in this function) timerfd01.c:84: error: (Each undeclared identifier is reported only once timerfd01.c:84: error: for each function it appears in.) timerfd01.c: In function 'timerfd_settime': timerfd01.c:90: error: '__NR_timerfd_settime' undeclared (first use in this function) timerfd01.c: In function 'timerfd_gettime': timerfd01.c:95: error: '__NR_timerfd_gettime' undeclared (first use in this function) timerfd01.c: In function 'main': timerfd01.c:124: warning: unused variable 'tfd2' make[5]: *** [timerfd01] Error 1 make[5]: Leaving directory `/home/qliklas/develop/ltp.git/testcases/kernel/syscalls/timerfd' BR / Klas Lindberg ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
