On 07/26/2011 06:28 AM, rowa wrote:
Public bug reported:
I've tryed to compile QEMU 0.15.0-rc0 on Ubuntu 10.10 „Maverick Meerkat“
but I get an error (For further details please see http://qemu-
buch.de/d/Installation#Quellen_kompilieren ).
./configure --prefix=/usr --enable-spice
--audio-card-list=ac97,es1370,sb16,adlib,gus,cs4231a
make
GEN config-host.h
GEN trace.h
GEN qemu-options.def
GEN qapi-generated/qga-qapi-types.h
GEN qapi-generated/qga-qapi-visit.h
GEN qapi-generated/qga-qmp-marshal.c
CC qapi/qapi-visit-core.o
In file included from qapi/qapi-visit-core.c:14:
./qapi/qapi-visit-core.h:31: error: expected declaration specifiers or ‘...’
before ‘Error’
I can't seem to reproduce this on Ubuntu 10.04
mdroth@illuin:~/w/qemu-0.15.0-rc0$ ./configure --prefix=/usr
--audio-card-list=ac97,es1370,sb16,adlib,gus,cs4231a && make
GEN config-host.h
GEN trace.h
GEN qemu-options.def
GEN qapi-generated/qga-qapi-types.h
GEN qapi-generated/qga-qapi-visit.h
GEN qapi-generated/qga-qmp-marshal.c
CC qapi/qapi-visit-core.o
Error is defined in error.h, which is pulled into qapi-visit-core.c via
qapi-visit-core.h via qapi-types-core.h
I don't see any indication that error.h wasn't found...so it must be
getting pulled in and for whatever reason is not making the expected
declarations...
If you could, can you please try reproducing this on qemu.git origin/master?
git clone git://git.qemu.org/qemu.git qemu.git
cd qemu.git
git checkout origin/master
./configure --prefix=/usr --enable-spice
--audio-card-list=ac97,es1370,sb16,adlib,gus,cs4231a && make
The Error infrastructure was introduced a while back, so if it is
something with that you should still see similar errors if you do:
git checkout c1990ebfa11265d3aa9b6a4d5d1a02bd3f9ac5c6
./configure --prefix=/usr --enable-spice
--audio-card-list=ac97,es1370,sb16,adlib,gus,cs4231a && make
If you don't see an Error there, a bisect between those 2 changesets
would be much appreciated.
Thanks!