[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] The error from compiling QEMU statically
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] The error from compiling QEMU statically |
Date: |
Wed, 7 Nov 2018 10:46:10 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
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.