Please install  linux headers with the following command:
sudo apt-get install linux-headers-$(uname -r)
Some times, the headers will be installed in /usr/src/linux-headers-2.6.x.x
instead of /lib/modules/..........
Please verify that and give the corresponding path when you install
openvswitch.


On Sun, Mar 20, 2011 at 1:48 PM, Hilman Fathurrahman <[email protected]> wrote:

>  i want to build openvswitch-1.1.0pre2 kernel module  in ubuntu 10.04.2 LTS
>
> but i got error messages :
> *root@NOX:/usr/local/openvswitch-1.1.0pre2# ./configure
> --with-l26=/lib/modules/`uname -r`
> .
> *-skipped-*
> .
> checking for Linux 2.6 build directory... /lib/modules/2.6.32-30-generic
> checking for Linux 2.6 source directory... configure: error: cannot find
> source directory (please use --with-l26-source)*
>
> i found the problem is the installer can't find the source,
> so i want to ask where is the Linux 2.6 source directory ?
>
> thanks for your help :-)
>
>
>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to