From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Build ltp failed
Date: Thu, 23 Feb 2017 09:32:13 +0100 [thread overview]
Message-ID: <20170223083213.GA15787@rei.lan> (raw)
In-Reply-To: <201702221515031893328@rock-chips.com>
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
prev parent reply other threads:[~2017-02-23 8:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-22 7:15 [LTP] Build ltp failed xxm
2017-02-23 8:32 ` Cyril Hrubis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170223083213.GA15787@rei.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox