I stumbled over this:

    ../include/ui/qemu-pixman.h:12:10: fatal error: pixman.h: No such file or 
directory
       12 | #include <pixman.h>
          |          ^~~~~~~~~~

Works when included into target-dependent code.

Running make -V=1 shows we're passing a number of -I only when compiling
target-dependent code, i.e. together with -DNEED_CPU_H:

    -I/usr/include/pixman-1 -I/usr/include/capstone -I/usr/include/spice-server 
-I/usr/include/spice-1

    -I/usr/include/cacard -I/usr/include/nss3 -I/usr/include/nspr4 
-I/usr/include/PCSC

    -isystem../linux-headers -isystemlinux-headers

Why?


Reply via email to