Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2014 01:29:50 -0500
From:      Long Tran <kyle.longtran@gmail.com>
To:        Andreas Nilsson <andrnils@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:  <CACziSJJe-vmqm3y96CsCE12fMuMNFcv5hCyeMOFgpC4LwQXpQw@mail.gmail.com>
In-Reply-To: <CAPS9%2BSsjQ2%2BwRRr=y0_b9zNepY60zWBJi6g99LMJpcx6sObRVg@mail.gmail.com>
References:  <CACziSJJC7HCx7dPUwwzJKef-xJ8iRDhUFyrrqimeoXrn3OSJug@mail.gmail.com> <CAPS9%2BSsjQ2%2BwRRr=y0_b9zNepY60zWBJi6g99LMJpcx6sObRVg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrnils@gmail.com> wrote:

>
> 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
>



-- 
*Long Tran*
Research Assistant
MS in Network Communications and Technology Project Management
University of Houston



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