From: "Alex Bennée" <alex.bennee@linaro.org>
To: Bug 1658120 <1658120@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1658120] Re: building with gcc-aarch64-linux-gnu
Date: Wed, 07 Mar 2018 09:51:39 +0000 [thread overview]
Message-ID: <87muzkz00k.fsf@linaro.org> (raw)
In-Reply-To: <152041267242.7807.1797840678819358821.malone@gac.canonical.com>
Cao Van Dong <1658120@bugs.launchpad.net> writes:
> Hello everyone!!
>
> I am having a issue when build qemu using gcc aarch64-linux-gnu-* on
> ubuntu 16.04:
>
> dong02@dong:~/qemu$ ./configure \
>> --prefix=/usr --cross-prefix=/usr/bin/aarch64-linux-gnu- \
>> --target-list=aarch64-softmmu \
>> --enable-attr --enable-fdt --enable-kvm \
>> --enable-sdl --enable-system --enable-tools \
>> --audio-drv-list= \
>> --disable-bluez --disable-brlapi --disable-bsd-user \
>> --disable-cap-ng --disable-curl --disable-curses \
>> --disable-docs --disable-libiscsi --disable-linux-aio \
>> --disable-rbd --disable-seccomp --disable-slirp \
>> --disable-sparse --disable-spice --disable-strip \
>> --disable-usb-redir --disable-vde --disable-virtfs \
>> --disable-vnc --disable-werror --disable-xen
>
> ERROR: zlib check failed
> Make sure to have the zlib libs and headers installed.
>
> I installed zlib library: sudo apt-get install zlib1g-dev. However, result no change
> Please help me!!
You will have installed the x86 version of the zlib1g-dev libraries.
Unfortunately headers are not uniform across all architectures.
If you want to ensure you have all the appropriate headers for cross
compiling QEMU do:
apt-get build-dep -a arm64 qemu
But you may well run into problems if the distribution isn't fully
multi-arch clean. This is one of the reasons we use docker to isolate
our various cross build environments:
make docker-test-build@debian-arm64-cross J=9 TARGET_LIST=aarch64-softmmu
--
Alex Bennée
next prev parent reply other threads:[~2018-03-07 9:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 15:21 [Qemu-devel] [Bug 1658120] [NEW] building with gcc-aarch64-linux-gnu Bilal Amarni
2017-01-20 15:47 ` Peter Maydell
2017-01-20 15:50 ` Alex Bennée
2017-01-21 13:14 ` [Qemu-devel] [Bug 1658120] " Bilal Amarni
2017-01-21 13:15 ` Bilal Amarni
2018-03-07 8:51 ` Cao Van Dong
2018-03-07 9:51 ` Alex Bennée [this message]
2018-03-07 9:37 ` philmd
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=87muzkz00k.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=1658120@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.