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.  :-)

--Justin


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/2.6.27.42-0.1.1.xs5.6.0.44.111158xen/build 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/2.6.27.42-0.1.1.xs5.6.0.44.111158xen/, 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
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org


_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to