Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 00:34:50 -0300
From:      Emerson Barea <emerson.barea@gmail.com>
To:        net@freebsd.org
Subject:   Netmap instalation error: No rule to make target `/root/netmap/LINUX/e1000/e1000_main.o'
Message-ID:  <CAO1UhdW2c1SsHaEr1XkNLKJSoghdbPdY0F-CQs1atCDDwtYP4Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm trying to install Netmap, but I got this error:


[root@localhost LINUX]# make clean; make
make[1]: Entering directory `/usr/src/kernels/3.15.8-200.fc20.x86_64'
  CLEAN   /root/netmap/LINUX/.tmp_versions
make[1]: Leaving directory `/usr/src/kernels/3.15.8-200.fc20.x86_64'
LIN_VER 30f08
---- Building from
/lib/modules/3.15.8-200.fc20.x86_64/build/drivers/net/ethernet
---- copying e1000 e1000e forcedeth.c igb ixgbe virtio_net.c ---
  From /lib/modules/3.15.8-200.fc20.x86_64/build/drivers/net/ethernet/nvidia :
  From /lib/modules/3.15.8-200.fc20.x86_64/build/drivers/net/ethernet/realtek :
  From /lib/modules/3.15.8-200.fc20.x86_64/build/drivers/net/ethernet/intel :
    drwxr-xr-x. 2 root root 4096 Ago 11 22:04 e1000/
    drwxr-xr-x. 2 root root 4096 Ago 11 22:04 e1000e/
    drwxr-xr-x. 2 root root 4096 Ago 11 22:04 igb/
    drwxr-xr-x. 2 root root 4096 Ago 11 22:04 ixgbe/
  From /lib/modules/3.15.8-200.fc20.x86_64/build/drivers/net/ethernet/broadcom :
  From /lib/modules/3.15.8-200.fc20.x86_64/build/drivers/net/ethernet :
  From /lib/modules/3.15.8-200.fc20.x86_64/build/drivers/net :
** 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--30900--99999
The text leading up to this was:
--------------------------
|diff --git a/e1000e/netdev.c b/e1000e/netdev.c
|index 7e615e2..f9d8a88 100644
|--- a/e1000e/netdev.c
|+++ b/e1000e/netdev.c
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
** patch with diff--forcedeth.c--20626--99999
The text leading up to this was:
--------------------------
|diff --git a/forcedeth.c b/forcedeth.c
|index 9c0b1ba..b081d6b 100644
|--- a/forcedeth.c
|+++ b/forcedeth.c
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
** patch with diff--igb--30b00--99999
The text leading up to this was:
--------------------------
|diff --git a/igb/igb_main.c b/igb/igb_main.c
|index c1d72c0..9815796 100644
|--- a/igb/igb_main.c
|+++ b/igb/igb_main.c
--------------------------
No file to patch.  Skipping patch.
10 out of 10 hunks ignored
** patch with diff--ixgbe--30a00--99999
The text leading up to this was:
--------------------------
|diff --git a/ixgbe/ixgbe_main.c b/ixgbe/ixgbe_main.c
|index d30fbdd..7418c57 100644
|--- a/ixgbe/ixgbe_main.c
|+++ b/ixgbe/ixgbe_main.c
--------------------------
No file to patch.  Skipping patch.
9 out of 9 hunks ignored
** patch with diff--virtio_net.c--30b00--99999
The text leading up to this was:
--------------------------
|diff --git a/virtio_net.c b/virtio_net.c
|index 3d2a90a..ae899a4 100644
|--- a/virtio_net.c
|+++ b/virtio_net.c
--------------------------
No file to patch.  Skipping patch.
7 out of 7 hunks ignored
Building the following drivers: e1000 e1000e forcedeth.c igb ixgbe virtio_net.c
make -C /lib/modules/3.15.8-200.fc20.x86_64/build M=/root/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/root/netmap/LINUX -I/root/netmap/LINUX/../sys
-I/root/netmap/LINUX/../sys/dev -DCONFIG_NETMAP
-Wno-unused-but-set-variable'           \
 O_DRIVERS="e1000/ e1000e/ igb/ ixgbe/" modules
make[1]: Entering directory `/usr/src/kernels/3.15.8-200.fc20.x86_64'
  CC [M]  /root/netmap/LINUX/netmap.o
  CC [M]  /root/netmap/LINUX/netmap_mem2.o
  CC [M]  /root/netmap/LINUX/netmap_generic.o
  CC [M]  /root/netmap/LINUX/netmap_mbq.o
  CC [M]  /root/netmap/LINUX/netmap_vale.o
  CC [M]  /root/netmap/LINUX/netmap_offloadings.o
  CC [M]  /root/netmap/LINUX/netmap_pipe.o
  CC [M]  /root/netmap/LINUX/netmap_linux.o
  LD [M]  /root/netmap/LINUX/netmap_lin.o
make[3]: *** No rule to make target
`/root/netmap/LINUX/e1000/e1000_main.o', needed by
`/root/netmap/LINUX/e1000/e1000.o'.  Stop.
make[2]: *** [/root/netmap/LINUX/e1000] Error 2
make[1]: *** [_module_/root/netmap/LINUX] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.15.8-200.fc20.x86_64'
make: *** [build] Error 2
[root@localhost LINUX]#

I already tried to install in another server with broadcom interface,
but I got the same error.

There are 3 Intel e1000 devices in this server.

[root@localhost LINUX]# ethtool -i p8p1
driver: e1000
version: 7.3.21-k8-NAPI
firmware-version:
bus-info: 0000:00:09.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
[root@localhost LINUX]#

I take Netmap from git clone https://code.google.com/p/netmap/

Thank you



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