OVS安装配置出现configure error
问题阐述:
在安装OVS过程中,需要先./configure对环境进行检查,要构建Linux内核模块,以便能够运行基于内核的交换机,需要在–with-linux上传递内核构建目录的位置。例如,要构建一个运行的Linux实例:
./configure --with-linux=/lib/modules/$(uname -r)/build
但是过程中出现错误,内容显示:
configure: error: Linux kernel in /lib/modules/5.3.0-46-generic/build is version
.3.18, but version newer than 5.0.x is not supported
解决方法:
查看linux内核与OVS对应关系,安装的OVS 2.12.0仅能支持5.0以下,而安装时2.14还没有提供下载。因此想要通过较低的内核版本解决问题。