[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 1658120] Re: building with gcc-aarch64-linux-gnu
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [Bug 1658120] Re: building with gcc-aarch64-linux-gnu |
Date: |
Wed, 07 Mar 2018 09:51:39 +0000 |
User-agent: |
mu4e 1.1.0; emacs 26.0.91 |
Cao Van Dong <address@hidden> writes:
> Hello everyone!!
>
> I am having a issue when build qemu using gcc aarch64-linux-gnu-* on
> ubuntu 16.04:
>
> address@hidden:~/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 address@hidden J=9 TARGET_LIST=aarch64-softmmu
--
Alex Bennée