Hi Andreas, I'm sorry. I redirected the output of make command to a file but forgot to redirect the error.
This is the error: make -C /lib/modules/3.13.0-29-generic/build M=/home/kl/Workspaces/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/kl/Workspaces/netmap/LINUX -I/home/kl/Workspaces/netmap/LINUX/../sys -I/home/kl/Workspaces/netmap/LINUX/../sys/dev -DCONFIG_NETMAP -Wno-unused-but-set-variable' \ O_DRIVERS="e1000/ e1000e/ igb/ ixgbe/" modules make[1]: Entering directory `/usr/src/linux-headers-3.13.0-29-generic' *make[3]: *** No rule to make target `/home/kl/Workspaces/netmap/LINUX/e1000/e1000_main.o', needed by `/home/kl/Workspaces/netmap/LINUX/e1000/e1000.o'. Stop.make[2]: *** [/home/kl/Workspaces/netmap/LINUX/e1000] Error 2make[1]: *** [_module_/home/kl/Workspaces/netmap/LINUX] Error 2* make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-29-generic' make: *** [build] Error 2 I searched in the Makefile but couldn't find the module_install. Also, it seems like the Makefile contains only the rules for building the modules, not installing them. Thank you, On Sun, Sep 28, 2014 at 3:50 PM, Andreas Nilsson <andrn...@gmail.com> wrote: > > On Sun, Sep 28, 2014 at 10:09 AM, Long Tran <kyle.longt...@gmail.com> > wrote: > >> Hello, >> >> I am trying to compile netmap on my VM Ubuntu 14.04 but getting this >> error: >> >> make -C /lib/modules/3.13.0-29-generic/build >> M=/home/kl/Workspaces/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/kl/Workspaces/netmap/LINUX >> -I/home/kl/Workspaces/netmap/LINUX/../sys >> -I/home/kl/Workspaces/netmap/LINUX/../sys/dev -DCONFIG_NETMAP >> -Wno-unused-but-set-variable' \ >> O_DRIVERS="e1000/ e1000e/ igb/ ixgbe/" modules >> make[1]: Entering directory `/usr/src/linux-headers-3.13.0-29-generic' >> make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-29-generic' >> >> I have downloaded the linux source code and copy the drivers in the intel >> directory to this directory before compiling: >> /lib/modules/3.13.0-29-generic/build/drivers/net/ethernet/intel/ >> >> Is that the problem with my vm or am I missing any steps to compile the >> netmap? >> >> Thank you, >> Long Tran. >> > > Are sure you getting an error? I see no error in the output. What happens > if you type make again? What happens when you run the install target ( I > don't remember the name, if it is install modules_install, but it should be > in the notes (or Makefile obviously). > > Best regards > Andeas > -- *Long Tran* Research Assistant MS in Network Communications and Technology Project Management University of Houston _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"