On Wed, Sep 21, 2011 at 7:36 AM, Srinivasan Ramasubramanian <[email protected]> wrote: > I have been trying build xenserver rpm of openvswitch 1.2.0 and 1.1.2 > version on Cent OS 5.6. But I am getting the following error. The error > appears on both the cases. > /usr/src/redhat/BUILD/openvswitch-1.2.0/datapath/linux/vport-netdev.c: In > function 'netdev_get_vport': > /usr/src/redhat/BUILD/openvswitch-1.2.0/datapath/linux/vport-netdev.c:393: > error: 'struct net_device' has no member named 'rx_handler_data' > /usr/src/redhat/BUILD/openvswitch-1.2.0/datapath/linux/vport-netdev.c:393: > warning: type defaults to 'int' in declaration of '_________p1' > /usr/src/redhat/BUILD/openvswitch-1.2.0/datapath/linux/vport-netdev.c:393: > error: 'struct net_device' has no member named 'rx_handler_data' > /usr/src/redhat/BUILD/openvswitch-1.2.0/datapath/linux/vport-netdev.c:393: > warning: cast to pointer from integer of different size > make[5]: *** > [/usr/src/redhat/BUILD/openvswitch-1.2.0/datapath/linux/vport-netdev.o] > Error 1 > I have installed all relevant packages required for compiling the > openvswitch > kernel-xen-devel-2.6.18-274.3.1.el5.x86_64 > kernel-headers-2.6.18-274.3.1.el5.x86_64 > I have installed Xen on Cent OS. I have booted the xen kernel. Please any > pointers ?
It's because an additional symbol was backported by that kernel. I'll send out a patch to adjust our tests soon. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
