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: pgp8pR5869MLG.pgp
Description: PGP signature

Reply via email to