Hi! > I am seeing below errors while compiling syscalls from the latest > available LTP tar ball from sourceforge. My system is having latest > libaio-dev library as well. > > the same issue even observed for other io syscalls(io_getevents etc..) > as well. Do i need to setup any other environment to compile it > successfully. > > /usr/bin/arm-linux-gnueabihf-gcc -static -g -O2 -fno-strict-aliasing > -pipe -Wall -W -static -Wold-style-definition > -I/home/LTP/ltp-full-20150420/testcases/kernel/include > -I../../../../include -I../../../../include -static -pthread > -L../../../../lib io_destroy01.c -lltp -o io_destroy01 > /tmp/cc0f3RO7.o: In function `main': > /home/LTP/ltp-full-20150420/testcases/kernel/syscalls/io_destroy/io_destroy01.c:77: > undefined reference to `io_destroy' > collect2: ld returned 1 exit status > make: *** [io_destroy01] Error 1
The -laio is missing from the command line, but since you are seeing the failure the HAVE_LIBAIO_H must be defined in config.h. So it's looks like you have hand edited config.h (which is wrong thing to do) after installing the library instead of reruning configure. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list