Received: from eggs.gnu.org ([2001:4830:134:3::10]:51338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDe7S-0007lE-Ha for qemu-devel@nongnu.org; Wed, 12 Feb 2014 13:01:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDe7M-0007Zh-El for qemu-devel@nongnu.org; Wed, 12 Feb 2014 13:01:10 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:40273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDe7M-0007Z6-7h for qemu-devel@nongnu.org; Wed, 12 Feb 2014 13:01:04 -0500 Message-ID: <52FBB6DD.6090300@msgid.tls.msk.ru> Date: Wed, 12 Feb 2014 22:01:01 +0400 From: Michael Tokarev MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] net: Adding netmap network backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vincenzo Maffione Cc: qemu-devel , Stefan Hajnoczi After this patch, qemu fails to build on freebsd with the following error message: net/netmap.c: In function 'netmap_receive_iov': net/netmap.c:307: error: 'NS_MOREFRAG' undeclared (first use in this function) net/netmap.c:307: error: (Each undeclared identifier is reported only once net/netmap.c:307: error: for each function it appears in.) net/netmap.c: In function 'netmap_send': net/netmap.c:356: error: 'NS_MOREFRAG' undeclared (first use in this function) gmake: *** [net/netmap.o] Error 1 I didn't enable netmap support by default, configure enabled it automatically. Freebsd has /usr/include/net/netmap.h and netmap_user.h out of the box. I've no idea what is inside and how compatible it is with whatever qemu expects. I had to explicitly use --disable-netmap for qemu to build on freebsd. This is FreeBSD 9.1-RELEASE, FWIW. Thanks, /mjt