Well, then you need to install the kernel headers. Whatever you think you've got, isn't there.
On Wed, Apr 04, 2012 at 05:41:33PM -0400, ANAND AKELLA wrote: > Hi Ben, > The folder is empty. > > ubuntu3:/mnt# ls -la > total 8 > drwxr-xr-x 2 root root 4096 2010-04-23 04:23 . > drwxr-xr-x 28 root root 4096 2012-04-04 10:09 .. > ubuntu3:/mnt# > > Thanks, > Anand > > On Wed, Apr 4, 2012 at 5:32 PM, Ben Pfaff <b...@nicira.com> wrote: > > > On Wed, Apr 04, 2012 at 05:23:31PM -0400, ANAND AKELLA wrote: > > > 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. > > > > The kernel source code, apparently. > > > > What's in /mnt/linux-source-2.6.38? > > _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss