[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] The master branch qemu compiles failed.
From: |
Gonglei (Arei) |
Subject: |
Re: [Qemu-devel] The master branch qemu compiles failed. |
Date: |
Tue, 1 Jul 2014 09:35:50 +0000 |
> -----Original Message-----
> From: Stefan Hajnoczi [mailto:address@hidden
> Sent: Tuesday, July 01, 2014 4:23 PM
> To: chenliang (T)
> Cc: address@hidden; address@hidden; Paolo Bonzini;
> Gonglei (Arei); Anton Ivanov
> Subject: Re: [Qemu-devel] The master branch qemu compiles failed.
>
> 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.
>
OK, I will have a try.
> 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
Best regards,
-Gonglei