[ovs-discuss] OVS 1.7.0 on CentOS 6.3 build errors

rh ev watchlist at deltavm.com
Tue Aug 28 14:13:16 UTC 2012


Hello Everyone,

I am trying to install OVS on CentOS 6.3. I am using the rhel install
instructions but am getting the following error when I try to run "rpmbuild
-bb rhel/openvswitch-kmod-rhel6.spec". I am able to successfully build the
openvswitch-1.4.2-1.x86_64.rpm and openvswitch-debuginfo-1.4.2-1.x86_64.rpm
files. This is for 1.7.0 and I have also tried with 1.4.2 and get the same
error. I think I must be missing a package or something but I'm not sure
which.

I have also tried the generic Linux install and I get the same error when I
run ./configure --with-linux....

Error:

In file included from
/root/rpmbuild/BUILD/openvswitch-1.4.2/_default/../datapath/linux/compat/include/linux/if.h:4,
                 from include/linux/netfilter.h:8,
                 from include/net/netns/x_tables.h:5,
                 from include/net/net_namespace.h:18,
                 from
/root/rpmbuild/BUILD/openvswitch-1.4.2/_default/../datapath/linux/compat/include/net/net_namespace.h:6,
                 from
/root/rpmbuild/BUILD/openvswitch-1.4.2/_default/../datapath/linux/compat/include/net/genetlink.h:6,
                 from
/root/rpmbuild/BUILD/openvswitch-1.4.2/_default/../datapath/linux/compat/genetlink.inc:3,
                 from
/root/rpmbuild/BUILD/openvswitch-1.4.2/_default/datapath/linux/genetlink-brcompat.c:10:
include/linux/if.h:77:1: warning: this is the location of the previous
definition
make[2]: ***
[/root/rpmbuild/BUILD/openvswitch-1.4.2/_default/datapath/linux/genetlink-brcompat.o]
Error 1
make[1]: ***
[_module_/root/rpmbuild/BUILD/openvswitch-1.4.2/_default/datapath/linux]
Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.5.2.el6.x86_64'
make: *** [default] Error 2
make: Leaving directory
`/root/rpmbuild/BUILD/openvswitch-1.4.2/_default/datapath/linux'
error: Bad exit status from /var/tmp/rpm-tmp.4kYBLq (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.4kYBLq (%build)


If anyone has any help or suggestions that would be great!


Thanks,

Darcy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120828/17d4ee53/attachment.html>


More information about the discuss mailing list