From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqo2U-0003sK-UN for qemu-devel@nongnu.org; Tue, 09 Aug 2011 11:16:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qqo2T-0007V7-2l for qemu-devel@nongnu.org; Tue, 09 Aug 2011 11:16:18 -0400 Received: from adelie.canonical.com ([91.189.90.139]:59812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqo2S-0007V1-Nb for qemu-devel@nongnu.org; Tue, 09 Aug 2011 11:16:16 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Qqo2S-0003c4-69 for ; Tue, 09 Aug 2011 15:16:16 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 29F8DCC1B5 for ; Tue, 9 Aug 2011 15:16:16 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 09 Aug 2011 15:01:18 -0000 From: Michael Roth <816370@bugs.launchpad.net> Sender: bounces@canonical.com References: <20110726112846.7009.75490.malonedeb@wampee.canonical.com> <20110809044646.25805.56753.malone@wampee.canonical.com> Message-Id: <4E414BBE.4050203@linux.vnet.ibm.com> Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1 Reply-To: Bug 816370 <816370@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 08/08/2011 11:46 PM, rowa wrote: > This Bug is not fixed in QEMU 0.15.0 > :-( > Hi Rowa, Take a look at Gerd Hoffmann's comment: it looks like Spice server 0.8.2 = pulls in some ALSA includes that contain a error.h which ends up = clobbering the error.h that that particular C file is trying to pull in. If you're compiling Spice server 0.8.2 from scratch, you can try this patch: http://cgit.freedesktop.org/spice/spice/commit/?h=3D0.8&id=3D54c660470a5aea= 19f799c5574cc0d4a707696712 Otherwise you can try Stefan's suggestion to confirm you see an ALSA = directory containing an error.h file as a -I option in make's gcc = invocation. If either is the case, it looks like the "fix" is upstream in Spice and = I'm guessing it'll be included in the next release. You might need to = make do with a patched Spice in the meantime, unfortunately. -- = 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 =E2=80=9EMaverick Meerkat=E2=80=9C but I get an error (For further details please see http ://qemu-buch.de/d/Installation#Quellen_kompilieren ). ./configure --prefix=3D/usr --enable-spice --audio-card-list=3Dac97,es13= 70,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 = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:32: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:34: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:35: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:36: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:39: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:41: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:42: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:43: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:45: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:49: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:50: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:53: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:54: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:58: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:59: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:61: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:62: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:63: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:64: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:65: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:67: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:68: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:70: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:71: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:72: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:73: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 ./qapi/qapi-visit-core.h:74: error: expected declaration specifiers or = =E2=80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c:17: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_start_handle=E2=80=99: qapi/qapi-visit-core.c:19: warning: implicit declaration of function =E2= =80=98error_is_set=E2=80=99 qapi/qapi-visit-core.c:19: warning: nested extern declaration of =E2=80= =98error_is_set=E2=80=99 qapi/qapi-visit-core.c:19: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:19: error: (Each undeclared identifier is reported= only once qapi/qapi-visit-core.c:19: error: for each function it appears in.) qapi/qapi-visit-core.c:20: error: too many arguments to function =E2=80= =98v->start_handle=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:24: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_end_handle=E2=80=99: qapi/qapi-visit-core.c:26: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:27: error: too many arguments to function =E2=80= =98v->end_handle=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:32: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_start_struct=E2=80=99: qapi/qapi-visit-core.c:34: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:35: error: too many arguments to function =E2=80= =98v->start_struct=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:39: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_end_struct=E2=80=99: qapi/qapi-visit-core.c:41: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:42: error: too many arguments to function =E2=80= =98v->end_struct=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:46: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_start_list=E2=80=99: qapi/qapi-visit-core.c:48: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:49: error: too many arguments to function =E2=80= =98v->start_list=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:53: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_next_list=E2=80=99: qapi/qapi-visit-core.c:55: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:56: error: too many arguments to function =E2=80= =98v->next_list=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:62: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_end_list=E2=80=99: qapi/qapi-visit-core.c:64: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:65: error: too many arguments to function =E2=80= =98v->end_list=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:70: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_start_optional=E2=80= =99: qapi/qapi-visit-core.c:72: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:73: error: too many arguments to function =E2=80= =98v->start_optional=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:77: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_end_optional=E2=80=99: qapi/qapi-visit-core.c:79: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:80: error: too many arguments to function =E2=80= =98v->end_optional=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:85: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_type_enum=E2=80=99: qapi/qapi-visit-core.c:87: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:88: error: too many arguments to function =E2=80= =98v->type_enum=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:92: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_type_int=E2=80=99: qapi/qapi-visit-core.c:94: error: =E2=80=98errp=E2=80=99 undeclared (firs= t use in this function) qapi/qapi-visit-core.c:95: error: too many arguments to function =E2=80= =98v->type_int=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:99: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_type_bool=E2=80=99: qapi/qapi-visit-core.c:101: error: =E2=80=98errp=E2=80=99 undeclared (fir= st use in this function) qapi/qapi-visit-core.c:102: error: too many arguments to function =E2=80= =98v->type_bool=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:106: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_type_str=E2=80=99: qapi/qapi-visit-core.c:108: error: =E2=80=98errp=E2=80=99 undeclared (fir= st use in this function) qapi/qapi-visit-core.c:109: error: too many arguments to function =E2=80= =98v->type_str=E2=80=99 qapi/qapi-visit-core.c: At top level: qapi/qapi-visit-core.c:113: error: expected declaration specifiers or =E2= =80=98...=E2=80=99 before =E2=80=98Error=E2=80=99 qapi/qapi-visit-core.c: In function =E2=80=98visit_type_number=E2=80=99: qapi/qapi-visit-core.c:115: error: =E2=80=98errp=E2=80=99 undeclared (fir= st use in this function) qapi/qapi-visit-core.c:116: error: too many arguments to function =E2=80= =98v->type_number=E2=80=99 make: *** [qapi/qapi-visit-core.o] Fehler 1 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/816370/+subscriptions