On 3/28/19 11:40 AM, Rohit Khanna wrote:
rokhanna@rokhanna-dev ~/dev/qemu.git $ ./configure --target-list=aarch64-softmmu --enable-kvm --enable-vhost-net --cross-prefix=aarch64-linux-gnu-
ERROR: glib-2.40 gthread-2.0 is required to compile QEMU
I have installed libglib2.0-0 using apt-get but I cant find libglib2.4. Any ideas how I can install that. Thanks in advance.
I'm fairly certain that you have installed libglib for the host, x86_64, but not the cross-compiled libraries for aarch64. This is what I meant when I said:
Third, you're going to need a *lot* of aarch64 libraries in order to build QEMU. This is where OS support for cross-toolchains is key.
Try the following as root:
dpkg --add-architecture arm64 apt-get update apt-get install build-essential apt-get install libcairo2-dev:arm64
See
https://wiki.debian.org/Multiarch/HOWTO
for more details.
r~