On 3 February 2016 at 07:28, Alexandre Callet <[email protected]> wrote: > Hi, > > > I am actualy trying to rpmbuild the ovs kmod rhel6 but can't do it . > > did someone already had this problem ? > > > /usr/bin/make -C /usr/src/kernels/3.10.0-327.4.5.el7.x86_64 > M=/root/rpmbuild/BUILD/openvswitch-2.4.90/_default/datapath/linux modules > make[1]: Entering directory `/usr/src/kernels/3.10.0-327.4.5.el7.x86_64' > CC [M] > /root/rpmbuild/BUILD/openvswitch-2.4.90/_default/datapath/linux/actions.o > CC [M] > /root/rpmbuild/BUILD/openvswitch-2.4.90/_default/datapath/linux/conntrack.o > In file included from > /root/rpmbuild/BUILD/openvswitch-2.4.90/_default/../datapath/linux/compat/include/net/net_namespace.h:4:0, > from include/linux/netdevice.h:43, > from > /root/rpmbuild/BUILD/openvswitch-2.4.90/_default/../datapath/linux/compat/include/linux/netdevice.h:4, > from include/net/inet_sock.h:24, > from include/net/ip.h:30, > from > /root/rpmbuild/BUILD/openvswitch-2.4.90/_default/../datapath/linux/compat/include/net/ip.h:4, > from > /root/rpmbuild/BUILD/openvswitch-2.4.90/_default/../datapath/linux/compat/include/linux/netfilter_ipv6.h:7, > from > /root/rpmbuild/BUILD/openvswitch-2.4.90/_default/datapath/linux/actions.c:25: > include/net/net_namespace.h:246:24: error: expected ';', identifier or '(' > before 'struct' > #define possible_net_t struct net * > ^
<snip> It looks like you're using some older version of OVS from git, I think that this problem will go away if you use the latest branch-2.5 or master code. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
