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 received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1658120 Title: building with gcc-aarch64-linux-gnu Status in QEMU: Invalid Bug description: Hi, while trying to build qemu v2.8.0 with gcc-aarch64-linux-gnu cross-compiler I'm getting the following : In file included from /usr/include/x86_64-linux-gnu/sys/syscall.h:31:0, from /root/qemu/util/compatfd.c:21: /root/qemu/util/compatfd.c: In function 'qemu_signalfd': /root/qemu/util/compatfd.c:103:19: error: '__NR_signalfd' undeclared (first use in this function) ret = syscall(SYS_signalfd, -1, mask, _NSIG / 8); ^ /root/qemu/util/compatfd.c:103:19: note: each undeclared identifier is reported only once for each function it appears in /root/qemu/rules.mak:59: recipe for target 'util/compatfd.o' failed make: *** [util/compatfd.o] Error 1 I had configured it with : ../configure --target-list=x86_64-linux-user --static --cpu=aarch64 And I'm on : Linux ubuntu-512mb-fra1-01 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Thanks To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1658120/+subscriptions