From owner-freebsd-net@FreeBSD.ORG Fri Jul 18 21:02:59 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D378427 for ; Fri, 18 Jul 2014 21:02:59 +0000 (UTC) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FFAA2F06 for ; Fri, 18 Jul 2014 21:02:59 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id l6so3782550qcy.39 for ; Fri, 18 Jul 2014 14:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=MCOdsC3I7Tiw25AoXctlCaUo1MQlIWqAHd/ZPpKBA6Y=; b=D17lmimicmB/zptIOv+X+eMq3C143Y/PgLtx7f8Z1V+/ZIFoLspQ2HELFXCiOMecoG Oc1xniIIVPeFQQNGjhKyHHnWoZ30vPcyg8SHmiT8IHIUqyzJzLO2zESbzozOaSC37/bi 4O1xgDvj5HBq528ZSLeF+uj7LD/cP120IPu+qqhOdS+9GEAm2RRopwtIWOGksC2N3Vh2 /pGfm4aboRYx1A5cHmSw8tApeX2yAIHGV3obULd9sm98GrWJ11M1Ypn4bniMpcZ/Mwa3 H9sEqNBky1P+d+HInK5CAjF2SJKC5M5oNN7WiDwYpVN77elHTrtXHirO7kchTra0Nagq r3jA== MIME-Version: 1.0 X-Received: by 10.224.15.72 with SMTP id j8mr13333873qaa.8.1405717378548; Fri, 18 Jul 2014 14:02:58 -0700 (PDT) Received: by 10.96.25.164 with HTTP; Fri, 18 Jul 2014 14:02:58 -0700 (PDT) Date: Fri, 18 Jul 2014 14:02:58 -0700 Message-ID: Subject: Error building netmap for centOS 6.5 From: Morgan Yang To: net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: rizzo@iet.unipi.it X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 21:02:59 -0000 Hi: I downloaded the latest netmap repo from git and attempted to compile them. git clone https://code.google.com/p/netmap/ cd netmap/Linux make I get the following errors [devusr@testbox LINUX]$ make LIN_VER 20620 ---- Building from /lib/modules/2.6.32-431.20.3.el6.x86_64/build/drivers/ne= t ---- copying e1000 e1000e r8169.c --- From /lib/modules/2.6.32-431.20.3.el6.x86_64/build/drivers/net : drwxr-xr-x. 2 root root 4096 Jul 16 16:56 e1000/ drwxr-xr-x. 2 root root 4096 Jul 16 16:56 e1000e/ ** patch with diff--e1000--20620--99999 The text leading up to this was: -------------------------- |diff --git a/e1000/e1000_main.c b/e1000/e1000_main.c |index bcd192c..5de7009 100644 |--- a/e1000/e1000_main.c |+++ b/e1000/e1000_main.c -------------------------- No file to patch. Skipping patch. 9 out of 9 hunks ignored ** patch with diff--e1000e--20620--20623 The text leading up to this was: -------------------------- |diff --git a/e1000e/netdev.c b/e1000e/netdev.c |index fad8f9e..50f74e2 100644 |--- a/e1000e/netdev.c |+++ b/e1000e/netdev.c -------------------------- No file to patch. Skipping patch. 8 out of 8 hunks ignored ** patch with diff--r8169.c--20620--20625 The text leading up to this was: -------------------------- |diff --git a/r8169.c b/r8169.c |index 0fe2fc9..efee0a4 100644 |--- a/r8169.c |+++ b/r8169.c -------------------------- No file to patch. Skipping patch. 9 out of 9 hunks ignored Building the following drivers: e1000 e1000e r8169.c make -C /lib/modules/2.6.32-431.20.3.el6.x86_64/build M=3D/home/devusr/Documents/netmap/LINUX CONFIG_NETMAP=3Dm CONFIG_E1000=3Dm CONFIG_E1000E=3Dm CONFIG_IXGBE=3Dm CONFIG_IGB=3Dm CONFIG_BNX2X=3Dm CONFIG_M= LX4=3Dm CONFIG_VIRTIO_NET=3Dm \ EXTRA_CFLAGS=3D'-I/home/devusr/Documents/netmap/LINUX -I/home/devusr/Documents/netmap/LINUX/../sys -I/home/devusr/Documents/netmap/LINUX/../sys/dev -DCONFIG_NETMAP -Wno-unused-but-set-variable' \ O_DRIVERS=3D"e1000/ e1000e/" modules make[1]: Entering directory `/usr/src/kernels/2.6.32-431.20.3.el6.x86_64' CC [M] /home/devusr/Documents/netmap/LINUX/netmap.o /home/devusr/Documents/netmap/LINUX/../sys/dev/netmap/netmap.c: In function =E2=80=98netmap_attach=E2=80=99: /home/devusr/Documents/netmap/LINUX/../sys/dev/netmap/netmap.c:2255: error: =E2=80=98struct ethtool_ops=E2=80=99 has no member named =E2=80=98set_chann= els=E2=80=99 make[2]: *** [/home/devusr/Documents/netmap/LINUX/netmap.o] Error 1 make[1]: *** [_module_/home/devusr/Documents/netmap/LINUX] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.20.3.el6.x86_64' make: *** [build] Error 2 Has anyone came across this issue before??? Much Thanks Morgan Yang