[ovs-discuss] Error in building Latest OVS in Fedora

Radhakrishnan, Sharmila sharmila.radhakrishnan at intel.com
Fri Mar 27 09:46:55 UTC 2015

Hi All,
I did a fresh clone for OVS today on  Fedora21 machine(kernel - 3.17.8-300.fc21.x86_64).

I configured it to
./configure --with-linux=/lib/modules/3.17.8-300.fc21.x86_64/build

And when I ran ‘make’ I get the below error:

make[4]: Entering directory '/usr/src/kernels/3.17.8-300.fc21.x86_64'
  CC [M]  /usr/src/ovs/datapath/linux/actions.o
  CC [M]  /usr/src/ovs/datapath/linux/datapath.o
/usr/src/ovs/datapath/linux/datapath.c: In function ‘dp_init’:
/usr/src/ovs/datapath/linux/datapath.c:2268:10: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/usr/src/ovs/datapath/linux/datapath.c:2268:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/usr/src/ovs/datapath/linux/datapath.o' failed
make[5]: *** [/usr/src/ovs/datapath/linux/datapath.o] Error 1
Makefile:1377: recipe for target '_module_/usr/src/ovs/datapath/linux' failed
make[4]: *** [_module_/usr/src/ovs/datapath/linux] Error 2
make[4]: Leaving directory '/usr/src/kernels/3.17.8-300.fc21.x86_64'
Makefile.main:71: recipe for target 'default' failed
make[3]: *** [default] Error 2
make[3]: Leaving directory '/usr/src/ovs/datapath/linux'
Makefile:480: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/src/ovs/datapath'
Makefile:4086: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/ovs'
Makefile:2241: recipe for target 'all' failed
make: *** [all] Error 2

How do I fix this error?

Thanks in Advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150327/89921bbb/attachment-0002.html>

More information about the discuss mailing list