qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Target-dependent include path, why?
@ 2022-12-09  5:12 Markus Armbruster
  2022-12-09  5:24 ` Richard Henderson
  0 siblings, 1 reply; 11+ messages in thread
From: Markus Armbruster @ 2022-12-09  5:12 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Marc-André Lureau, Daniel P. Berrange,
	Thomas Huth, Philippe Mathieu-Daudé

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?



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-12-09 22:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-09  5:12 Target-dependent include path, why? Markus Armbruster
2022-12-09  5:24 ` Richard Henderson
2022-12-09  7:05   ` Philippe Mathieu-Daudé
2022-12-09  8:51   ` Markus Armbruster
2022-12-09 15:02     ` Richard Henderson
2022-12-09 15:59       ` Philippe Mathieu-Daudé
2022-12-09 16:48     ` Paolo Bonzini
2022-12-09 16:52       ` Peter Maydell
2022-12-09 17:42         ` Paolo Bonzini
2022-12-09 19:53           ` Peter Maydell
2022-12-09 22:16             ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).