From: Stefan Hajnoczi <stefanha@gmail.com>
To: ChenLiang <chenliang88@huawei.com>
Cc: Anton Ivanov <antivano@cisco.com>,
peter.maydell@linaro.org, Gonglei <arei.gonglei@huawei.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] The master branch qemu compiles failed.
Date: Tue, 1 Jul 2014 10:23:29 +0200 [thread overview]
Message-ID: <20140701082329.GA27657@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <53B26AB4.50100@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 723 bytes --]
On Tue, Jul 01, 2014 at 04:00:52PM +0800, ChenLiang wrote:
> Qemu compiles failed.
What is your kernel version?
I guess you're running an old kernel without recvmmsg(). So the kernel
headers are missing the mmsghdr struct.
If you would like to contribute a patch to fix this, please introduce a
CONFIG_L2TPV3 variable in ./configure and check for mmsghdr with a small
C test that declares a variable using this struct.
Then modify net/Makefile.objs to switch l2tpv3.o from CONFIG_LINUX to
your new CONFIG_L2TPV3 variable. This way it only gets built on hosts
that support mmsghdr.
You can find examples of other compile tests in ./configure.
If not, let us know and either I or Anton will fix this problem.
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2014-07-01 8:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 8:00 [Qemu-devel] The master branch qemu compiles failed ChenLiang
2014-07-01 8:17 ` Paolo Bonzini
2014-07-01 8:24 ` Laurent Desnogues
2014-07-01 8:29 ` ChenLiang
2014-07-01 8:23 ` Stefan Hajnoczi [this message]
2014-07-01 9:35 ` Gonglei (Arei)
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=20140701082329.GA27657@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=antivano@cisco.com \
--cc=arei.gonglei@huawei.com \
--cc=chenliang88@huawei.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--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).