[ovs-discuss] Cannot build Open vSwitch on XenServer 5.6

Justin Pettit jpettit at nicira.com
Fri Aug 20 06:19:05 UTC 2010

My guess is that you haven't installed the kernel source RPMs into the DDK.  They're typically on one of the source ISOs with a name like kernel-2.6.*.src.rpm.  I don't know why they're not included by default in the DDK, either.  :-)


On Aug 19, 2010, at 11:13 PM, Michael Chung wrote:

> Dear All,
> I downloaded the Open vSwitch and uploaded to the xenserver 5.6 ddk (XenServer SDK 5.6.0-31188p).
> I followed the steps in http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.XenServer;hb=HEAD
> But I got the following error message,
> checking whether gcc accepts -Wno-unused... yes
> checking for Linux 2.6 build directory... no
> configure: error: source dir /lib/modules/ doesn't exist
> error: Bad exit status from /var/tmp/rpm-tmp.53473 (%build)
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.53473 (%build)
> I checked the path /lib/modules/, there are not build exist.
> Does in mean this is not supported to build open vswitch in xenserver 5.6.
> Thank you very much!
> Michael
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

More information about the discuss mailing list