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

Vishal Swarankar vishal.swarnkar at gmail.com
Thu Oct 6 05:36:50 UTC 2011


I am facing the same problem with OVS 1.2.2 release. By the way I got these
logs during configure:

checking whether src_err, matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/arch/x86/include/asm/checksum_32.h...
file not found
checking whether ERR_CAST matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/err.h... yes
checking whether ipv4_is_multicast matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/in.h... no
checking whether dev_disable_lro matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/netdevice.h...
yes
checking whether dev_get_stats matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/netdevice.h...
no
checking whether dev_get_by_index_rcu matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/netdevice.h...
no
checking whether rcu_read_lock_held matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/rcupdate.h...
no
checking whether rcu_read_lock_held matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/rtnetlink.h...
no
checking whether [^@]proto_data_valid matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/skbuff.h... yes
checking whether raw matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/skbuff.h... yes
checking whether skb_dst( matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/skbuff.h... no
checking whether skb_copy_from_linear_data_offset matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/skbuff.h... yes
checking whether skb_cow_head matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/skbuff.h... yes
checking whether skb_transport_header matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/skbuff.h... yes
checking whether icmp6_hdr matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/icmpv6.h... no
checking whether skb_warn_if_lro matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/skbuff.h... yes
checking whether consume_skb matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/skbuff.h... yes
checking whether kmemdup matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/string.h... no
checking whether kmemdup matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/slab.h... yes
checking whether bool matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/types.h... yes
checking whether __wsum matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/types.h... yes
checking whether csum_replace4 matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/net/checksum.h... yes
checking whether csum_unfold matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/net/checksum.h... yes
checking whether NLA_NUL_STRING matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/net/netlink.h... yes
checking whether nla_get_be16 matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/net/netlink.h... no
checking whether nla_find_nested matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/net/netlink.h... yes
checking whether rtnl_link_stats64 matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/if_link.h...
file not found
checking whether ADD_ALL_VLANS_CMD matches in
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/if_vlan.h... no
checking for
/usr/src/kernels/2.6.18-274.3.1.el5-xen-x86_64/include/linux/log2.h... yes

thanks
Vishal

On Thu, Sep 22, 2011 at 1:16 AM, Jesse Gross <jesse at nicira.com> wrote:

> 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 ?
>
> 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
> 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/20111006/26777a18/attachment.html>


More information about the discuss mailing list