Received: from eggs.gnu.org ([2001:4830:134:3::10]:45353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1tLq-0000tI-RJ for qemu-devel@nongnu.org; Tue, 01 Jul 2014 04:23:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1tLh-0004Wk-N2 for qemu-devel@nongnu.org; Tue, 01 Jul 2014 04:23:42 -0400 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:34445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1tLh-0004WT-BS for qemu-devel@nongnu.org; Tue, 01 Jul 2014 04:23:33 -0400 Received: by mail-wi0-f176.google.com with SMTP id n3so7348324wiv.9 for ; Tue, 01 Jul 2014 01:23:32 -0700 (PDT) Date: Tue, 1 Jul 2014 10:23:29 +0200 From: Stefan Hajnoczi Message-ID: <20140701082329.GA27657@stefanha-thinkpad.redhat.com> References: <53B26AB4.50100@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <53B26AB4.50100@huawei.com> Subject: Re: [Qemu-devel] The master branch qemu compiles failed. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ChenLiang Cc: Anton Ivanov , peter.maydell@linaro.org, Gonglei , "qemu-devel@nongnu.org" , Paolo Bonzini --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTsnABAAoJEJykq7OBq3PIW6oIAKAzMkTibotPDFl+UtthTXsn j7U0zwLhf6aDKdORzmivVU+LlTe7XgS7VoPmWcUuejbRgABX3Ystuv3y//elAeT5 lulv4iTnsmYac0/I60pRMxWj65kMHb10xBb+hnxR2qzM+7KulH6KSj6Mb/vknKXm gYfkt59g3AqUbnYUgwqS9wi6NEUlesxHXHX/lAg37vA8s3Cd2qpnKYlIbYTcH2Fl mn945i53JlAz5jg9dwOxEfbBWHjU6QSInKqORt4NewWxz0tyDo/3j8KGCG2rXV0U 3NMbZG7JMc7SkG+6NJKLUtJWcIBKTpu9aDbeVz91QwCY0YBMQ7HXEzUd4tKePgk= =5muJ -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi--