Compiling netmap in Ubuntu 14.04 in VMWare

Andreas Nilsson andrnils at gmail.com
Sun Sep 28 20:50:36 UTC 2014


On Sun, Sep 28, 2014 at 10:09 AM, Long Tran <kyle.longtran at 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


More information about the freebsd-net mailing list