Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 14:02:58 -0700
From:      Morgan Yang <morphyno@gmail.com>
To:        net@freebsd.org
Cc:        rizzo@iet.unipi.it
Subject:   Error building netmap for centOS 6.5
Message-ID:  <CAEsLtnn3T3OH0OSFhcNNn8c1PZ07fP8rNX_fwm0S0-WWtMiJGA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEsLtnn3T3OH0OSFhcNNn8c1PZ07fP8rNX_fwm0S0-WWtMiJGA>