On Thu, Aug 4, 2011 at 4:52 PM, rowa <816...@bugs.launchpad.net> wrote: > Now it is possible to build qemu 0.15.0-rc1 with --disable-spice option > on Ubuntu 10.10 „Maverick Meerkat“ . > > -- > You received this bug notification because you are a member of qemu- > devel-ml, which is subscribed to QEMU. > https://bugs.launchpad.net/bugs/816370 > > Title: > compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1 > > Status in QEMU: > New > > Bug description: > 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’
This is an odd error. I saw the other related mailing list thread. To debug it: 1. Run the build and let it fail. 2. Find out the command-line to build qapi/qapi-visit-core.o: make V=1 3. Change the gcc command-line that was printed out in step #2: gcc ... -o qapi/qapi-visit-core.o qapi/qapi-visit-core.c To this: gcc ... -o qapi-visit-core.txt -E qapi/qapi-visit-core.c The -E option outputs the pre-processed source. It will be written to qapi-visit-core.txt. Please post the entire pre-processed source (try http://pastebin.com/ to avoid sending a huge email). Stefan