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

Russell Bryant rbryant at redhat.com
Mon Apr 6 15:35:52 UTC 2015


On 03/27/2015 05:46 AM, Radhakrishnan, Sharmila wrote:
> 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]
> 
>    VERSION);
> 
>           ^

Add the following to your 'make' command:

$ make EXTRA_CFLAGS="-Wno-error=date-time"

-- 
Russell Bryant



More information about the discuss mailing list