On 16/02/2017 17:30, Chad Joan wrote: > Hello, > > This is a one-line patch to the configure script that will allow QEMU to be > built on musl-libc based Linux systems. This problem is only noticeable > when QEMU is built with --enable-curses. > > Detailed reading material if you want to know where this came from: > https://bugs.gentoo.org/show_bug.cgi?id=609364
Hi, can you explain exactly which function is missing without -D_XOPEN_SOURCE=500? If it is curses' wide-char functions, why does it fail with musl but not with glibc? Is _XOPEN_SOURCE always defined by glibc if you have _D_GNU_SOURCE? Paolo