qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Roth <816370@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0	and 0.15.0-rc1
Date: Tue, 09 Aug 2011 15:01:18 -0000	[thread overview]
Message-ID: <4E414BBE.4050203@linux.vnet.ibm.com> (raw)
In-Reply-To: 20110809044646.25805.56753.malone@wampee.canonical.com

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=0.8&id=54c660470a5aea19f799c5574cc0d4a707696712

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 „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’
  ./qapi/qapi-visit-core.h:32: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:34: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:35: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:36: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:39: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:41: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:42: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:43: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:45: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:49: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:50: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:53: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:54: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:58: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:59: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:61: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:62: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:63: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:64: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:65: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:67: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:68: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:70: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:71: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:72: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:73: error: expected declaration specifiers or ‘...’ before ‘Error’
  ./qapi/qapi-visit-core.h:74: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c:17: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_start_handle’:
  qapi/qapi-visit-core.c:19: warning: implicit declaration of function ‘error_is_set’
  qapi/qapi-visit-core.c:19: warning: nested extern declaration of ‘error_is_set’
  qapi/qapi-visit-core.c:19: error: ‘errp’ undeclared (first 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 ‘v->start_handle’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:24: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_end_handle’:
  qapi/qapi-visit-core.c:26: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:27: error: too many arguments to function ‘v->end_handle’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:32: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_start_struct’:
  qapi/qapi-visit-core.c:34: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:35: error: too many arguments to function ‘v->start_struct’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:39: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_end_struct’:
  qapi/qapi-visit-core.c:41: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:42: error: too many arguments to function ‘v->end_struct’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:46: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_start_list’:
  qapi/qapi-visit-core.c:48: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:49: error: too many arguments to function ‘v->start_list’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:53: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_next_list’:
  qapi/qapi-visit-core.c:55: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:56: error: too many arguments to function ‘v->next_list’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:62: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_end_list’:
  qapi/qapi-visit-core.c:64: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:65: error: too many arguments to function ‘v->end_list’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:70: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_start_optional’:
  qapi/qapi-visit-core.c:72: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:73: error: too many arguments to function ‘v->start_optional’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:77: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_end_optional’:
  qapi/qapi-visit-core.c:79: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:80: error: too many arguments to function ‘v->end_optional’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:85: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_enum’:
  qapi/qapi-visit-core.c:87: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:88: error: too many arguments to function ‘v->type_enum’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:92: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_int’:
  qapi/qapi-visit-core.c:94: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:95: error: too many arguments to function ‘v->type_int’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:99: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_bool’:
  qapi/qapi-visit-core.c:101: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:102: error: too many arguments to function ‘v->type_bool’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:106: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_str’:
  qapi/qapi-visit-core.c:108: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:109: error: too many arguments to function ‘v->type_str’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:113: error: expected declaration specifiers or ‘...’ before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_number’:
  qapi/qapi-visit-core.c:115: error: ‘errp’ undeclared (first use in this function)
  qapi/qapi-visit-core.c:116: error: too many arguments to function ‘v->type_number’
  make: *** [qapi/qapi-visit-core.o] Fehler 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/816370/+subscriptions

  reply	other threads:[~2011-08-09 15:16 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 11:28 [Qemu-devel] [Bug 816370] [NEW] compile error in QEMU 0.15.0-rc0 rowa
2011-07-26 15:50 ` Michael Roth
2011-07-26 17:02 ` [Qemu-devel] [Bug 816370] " rowa
2011-07-26 18:57   ` Michael Roth
2011-07-27  5:27 ` rowa
2011-07-27 14:59 ` rowa
2011-08-01 10:39 ` rowa
2011-08-03 22:56   ` Michael Roth
2011-08-03 13:26 ` [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1 Marcel Hnilka
2011-08-04  5:22 ` Marcel Hnilka
2011-08-04  8:33 ` Marcel Hnilka
2011-08-04  8:54   ` Alon Levy
2011-08-04 12:00     ` Gerd Hoffmann
2011-08-04 15:52 ` rowa
2011-08-09 10:46   ` Stefan Hajnoczi
2011-08-09  4:46 ` rowa
2011-08-09 15:01   ` Michael Roth [this message]
2011-08-09 15:25     ` Stefan Hajnoczi
2011-08-09 12:02 ` rowa
2011-08-09 15:05   ` Michael Roth
2011-08-20 16:56 ` Malte Starostik
2011-08-20 17:21 ` Bug Watch Updater
2011-08-21 16:12 ` [Qemu-devel] [Bug 816370] Dagger-q
2011-08-22 20:41 ` Doug Goldstein
2011-08-22 22:13 ` [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1 Bug Watch Updater
2012-10-17 19:30 ` Doug Goldstein
2012-10-17 19:31 ` Doug Goldstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E414BBE.4050203@linux.vnet.ibm.com \
    --to=816370@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).