[ovs-discuss] Unable to configure the linux kernel module

ANAND AKELLA ava6951 at rit.edu
Wed Apr 4 21:23:31 UTC 2012


Hi,
I using the latest openvswitch-1.4.0 software on ubuntu v11.10 Utah emulab
node. When I try to configure the Linux kernel module it gives the
following error

ubuntu3:~/openvswitch-1.4.0# sudo ./configure
--with-linux=/lib/modules/`uname -r`/build
checking build number... none
checking for a BSD-compatible install... /usr/bin/install -c
!
!
checking target hint for cgcc... x86_64
checking whether make has GNU make $(if) extension... yes
checking for Linux build directory... no
configure: error: source dir /lib/modules/2.6.38.7-1.0emulab/build doesn't
exist

ubuntu3:~/openvswitch-1.4.0# ls -l  /lib/modules/2.6.38.7-1.0emulab/build
lrwxrwxrwx 1 root root 24 2011-08-24 12:51
/lib/modules/2.6.38.7-1.0emulab/build -> /mnt/linux-source-2.6.38

I went through couple of threads in openvswitch archive,as per the
discussion I tried to run the following command but I'm facing the same
issue.

ubuntu3:~/openvswitch-1.4.0# sudo apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.38.7-1.0emulab is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

ubuntu3:~/openvswitch-1.4.0# sudo ./configure
--with-linux=/lib/modules/`uname -r`/build
checking build number... none
checking for a BSD-compatible install... /usr/bin/install -c
!
!
checking target hint for cgcc... x86_64
checking whether make has GNU make $(if) extension... yes
checking for Linux build directory... no
configure: error: source dir /lib/modules/2.6.38.7-1.0emulab/build doesn't
exist

Please let me know if I'm missing something.

Thanks,
Anand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120404/98b88edd/attachment.html>


More information about the discuss mailing list