[ovs-discuss] Openvswitch 1.2.0 or 1.1.2 compilation issue .

James Hongyi Zeng hyzeng at stanford.edu
Wed Sep 21 16:28:37 UTC 2011


I had the similar problem before with the latest RHEL/CentOS kernel. I don't
know the root cause, but I rolled back to kernel version 2.6.18-238 and the
problem disappeared.

-James

On Wed, Sep 21, 2011 at 7:36 AM, Srinivasan Ramasubramanian <
vrsrini at gmail.com> 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 ?
>
> Regards & Thanks
> *VRS*
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110921/5b300ac5/attachment.html>


More information about the discuss mailing list