Hi, when I try to build OpenvSwitch 2.0.5 on Oracle Linux 8 I get the following errors. Any ideas on how to address this ? Thanks!
lib/dhparams.c:2:12: error: static declaration of 'get_dh1024' follows non-static declaration static DH *get_dh1024(void) ^~~~~~~~~~ In file included from lib/dhparams.c:1: ./lib/dhparams.h:22:5: note: previous declaration of 'get_dh1024' was here DH *get_dh1024(void); ^~~~~~~~~~ lib/dhparams.c:38:12: error: static declaration of 'get_dh2048' follows non-static declaration static DH *get_dh2048(void) ^~~~~~~~~~ In file included from lib/dhparams.c:1: ./lib/dhparams.h:23:5: note: previous declaration of 'get_dh2048' was here DH *get_dh2048(void); ^~~~~~~~~~ lib/dhparams.c:87:12: error: static declaration of 'get_dh4096' follows non-static declaration static DH *get_dh4096(void) ^~~~~~~~~~ In file included from lib/dhparams.c:1: ./lib/dhparams.h:24:5: note: previous declaration of 'get_dh4096' was here DH *get_dh4096(void); ^~~~~~~~~~ lib/dhparams.c:87:12: warning: 'get_dh4096' defined but not used [-Wunused-function] static DH *get_dh4096(void) ^~~~~~~~~~ lib/dhparams.c:38:12: warning: 'get_dh2048' defined but not used [-Wunused-function] static DH *get_dh2048(void) ^~~~~~~~~~ lib/dhparams.c:2:12: warning: 'get_dh1024' defined but not used [-Wunused-function] static DH *get_dh1024(void) ^~~~~~~~~~ make[2]: *** [Makefile:4036: lib/dhparams.lo] Error 1 make[2]: Leaving directory '/opt/olxc/home/ubuntu/Downloads/orabuntu-lxc-6.12.13-beta/uekulele/openvswitch/rpmbuild/BUILD/openvswitch-2.5.4' make[1]: *** [Makefile:4688: all-recursive] Error 1 make[1]: Leaving directory '/opt/olxc/home/ubuntu/Downloads/orabuntu-lxc-6.12.13-beta/uekulele/openvswitch/rpmbuild/BUILD/openvswitch-2.5.4' make: *** [Makefile:2626: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.jepWHo (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jepWHo (%build)
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss