Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2014 22:50:33 +0200
From:      Andreas Nilsson <andrnils@gmail.com>
To:        Long Tran <kyle.longtran@gmail.com>
Cc:        "Gurkan, Deniz" <dgurkan@central.uh.edu>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Compiling netmap in Ubuntu 14.04 in VMWare
Message-ID:  <CAPS9%2BSsjQ2%2BwRRr=y0_b9zNepY60zWBJi6g99LMJpcx6sObRVg@mail.gmail.com>
In-Reply-To: <CACziSJJC7HCx7dPUwwzJKef-xJ8iRDhUFyrrqimeoXrn3OSJug@mail.gmail.com>
References:  <CACziSJJC7HCx7dPUwwzJKef-xJ8iRDhUFyrrqimeoXrn3OSJug@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 28, 2014 at 10:09 AM, Long Tran <kyle.longtran@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSsjQ2%2BwRRr=y0_b9zNepY60zWBJi6g99LMJpcx6sObRVg>