qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] header include order causes build failure


From: Christoph Egger
Subject: [Qemu-devel] header include order causes build failure
Date: Thu, 26 May 2011 10:07:18 +0200
User-agent: Mozilla/5.0 (X11; U; NetBSD amd64; en-US; rv:1.9.2.17) Gecko/20110523 Lightning/1.0b3pre Thunderbird/3.1.10


Hi,

qemu build system includes third party headers before
qemu headers which is wrong. It should be the other
way around.

When 'nas' (Network Audio System, http://www.pdl.cmu.edu/NASD/Downloads/NASDcode.html)
is installed then there is an external "audio/audio.h".

Due to the wrong header include order this one is used instead of
qemu's one and causes a build error saying that
QEMUSoundCard is not defined.

gcc error message:
hw/wm8750.c:30:error: expected specifier-qualifier-list before 'QEMUSoundCard'

Christoph

--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632




reply via email to

[Prev in Thread] Current Thread [Next in Thread]