[ovs-discuss] Failed to build Open vSwitch Kernel Modules on CentOS 7 (kernel 3.10.0-514.2.2.el7.x86_64)

liu yulong liuyulong.xa at gmail.com
Tue Jan 10 03:01:41 UTC 2017


Hi experts,

We have failed to build Open vSwitch Kernel Modules on CentOS 7 (kernel
3.10.0-514.2.2.el7.x86_64).

Here are some traces we got:
http://paste.openstack.org/show/594350/

Steps:
1. download the current openvswitch release:
http://openvswitch.org/releases/openvswitch-2.6.1.tar.gz

2. rpmbuild
(1) prepare the SOURCE
cp openvswitch-2.6.1.tar.gz ~/rpmbuild/SOURCES/
tar -zxvf openvswitch-2.6.1.tar.gz
cp ./openvswitch-2.6.1/rhel/* ~/rpmbuild/SOURCES/
cp ./openvswitch-2.6.1/rhel/*.spec ~/rpmbuild/SPECS/


(2) edit ~/rpmbuild/SPECS/openvswitch-kmod-fedora.spec
change the #%define kernel to:
#%define kernel 3.10.0-514.2.2.el7.x86_64

(3) start build
rpmbuild -bb --without check ~/rpmbuild/SPECS/openvswitch-kmod-fedora.spec

Then we get that error. So can anyone help to solve such issue?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170110/76474e4e/attachment.html>


More information about the discuss mailing list