Error building netmap for centOS 6.5
Morgan Yang
morphyno at gmail.com
Fri Jul 18 21:02:59 UTC 2014
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 at testbox LINUX]$ make
LIN_VER 20620
---- Building from /lib/modules/2.6.32-431.20.3.el6.x86_64/build/drivers/net
---- 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=/home/devusr/Documents/netmap/LINUX CONFIG_NETMAP=m CONFIG_E1000=m
CONFIG_E1000E=m CONFIG_IXGBE=m CONFIG_IGB=m CONFIG_BNX2X=m CONFIG_MLX4=m
CONFIG_VIRTIO_NET=m \
EXTRA_CFLAGS='-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="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
‘netmap_attach’:
/home/devusr/Documents/netmap/LINUX/../sys/dev/netmap/netmap.c:2255: error:
‘struct ethtool_ops’ has no member named ‘set_channels’
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
More information about the freebsd-net
mailing list