* [LTP] Build ltp failed
@ 2017-02-22 7:15 xxm
2017-02-23 8:32 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: xxm @ 2017-02-22 7:15 UTC (permalink / raw)
To: ltp
Hi,
I built the ltp under Ubnuntu14.04 using the following steps:
export AR=arm-linux-gnueabihf-ar
export LD=arm-linux-gnueabihf-ld
export CC=arm-linux-gnueabihf-gcc
./configure --host=arm-linux --target=arm-linux-gnueabihf --exec-prefix=/home/
make
I got the following error message:
arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/home/xxm/workspace/vts/ltp/testcases/kernel/include -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib io_cancel01.c -lltp -o io_cancel01
/tmp/ccpEIBGL.o: In function `main':
/home/xxm/workspace/vts/ltp/testcases/kernel/syscalls/io_cancel/io_cancel01.c:82: undefined reference to `io_cancel'
anyone meet the same issue ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20170222/c48b48f8/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LTP] Build ltp failed
2017-02-22 7:15 [LTP] Build ltp failed xxm
@ 2017-02-23 8:32 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2017-02-23 8:32 UTC (permalink / raw)
To: ltp
Hi!
> I built the ltp under Ubnuntu14.04 using the following steps:
>
> export AR=arm-linux-gnueabihf-ar
> export LD=arm-linux-gnueabihf-ld
> export CC=arm-linux-gnueabihf-gcc
> ./configure --host=arm-linux --target=arm-linux-gnueabihf --exec-prefix=/home/
>
> make
>
>
> I got the following error message:
>
> arm-linux-gnueabihf-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -I/home/xxm/workspace/vts/ltp/testcases/kernel/include -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib io_cancel01.c -lltp -o io_cancel01
> /tmp/ccpEIBGL.o: In function `main':
> /home/xxm/workspace/vts/ltp/testcases/kernel/syscalls/io_cancel/io_cancel01.c:82: undefined reference to `io_cancel'
Looks like a problem with detecting the libaio devel library. Looks like
the HAVE_LIBAIO_H is defined but AIO_LIBS is empty. Removing
HAVE_LIBAIO_H from include config.h should work around this issue.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-23 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 7:15 [LTP] Build ltp failed xxm
2017-02-23 8:32 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox