All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: wj193102 <wj193102@163.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] The error from compiling QEMU statically
Date: Wed, 7 Nov 2018 10:46:10 +0100	[thread overview]
Message-ID: <43dd7761-47ef-bbf5-ad6b-e7db5da3c91b@redhat.com> (raw)
In-Reply-To: <1e2ba070.db56.166ed56f891.Coremail.wj193102@163.com>

Hi,

On 7/11/18 9:43, wj193102 wrote:
> Hi, everybody.
> I want to compile QEMU statically. But when I make the soure files, I get the error messages. Please help me to resolve them.
> Now I will tell you the steps what I do.
> (1)$ cd qemu-3.0.0
> (2)$ ./configure --prefix=/usr --static

Can you share the output of the configure script?

> (3)$ make
> When I input the "make" command, and  run it, then I get the error messages.
> (1)/block/file-posix.c:1945: Error: There is an unknown field 'prealloc' in the initializer;
> (2)/block/file-posix.c:1946: Error: There is an unknown field 'errp' in the initializer.
> How to resolve these problems, please help me, thanks.

What is your distribution?

I can not reproduce your problem (using Fedora).

Regards,

Phil.

  reply	other threads:[~2018-11-07  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07  8:43 [Qemu-devel] The error from compiling QEMU statically wj193102
2018-11-07  9:46 ` Philippe Mathieu-Daudé [this message]
2018-11-07 11:28 ` Peter Maydell

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=43dd7761-47ef-bbf5-ad6b-e7db5da3c91b@redhat.com \
    --to=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=wj193102@163.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.