您的位置:首页 > 产品设计 > UI/UE

opnfv c/fuel 9编译错误处理2

2016-12-16 11:45 405 查看
编译错误:

test -f .cacheid && make -f Makefile put-cache || exit 0

make[1]: Leaving directory `/mnt/sdb/fuel/build/docker'

No LSB modules are available.

Kernel version must be 3.19 or newer

make: *** [all] Error 1

处理方法:

1 这个错误查到来自Makefile

其中 No LSB..来自 lsb_release命令,该Makefile中作用是用于判断当前系统是否Ubuntu,因而这个No LSB并不影响,因而无需修改。

2 Kernel version错误来自Makefile

这个使用命令是 uname -r,经查uname -r确实不对,是3.13版本,需要升级

经查docker文档(因docker + ubuntu文档有提及)

apt-get install linux-image-generic-lts-trusty

这样后,reboot

重启后其版本为3.19符合要求了。

问题出现原因:

之所以出现这个问题,源于ubuntu安装docker的指南出现的小失误,即认为12.04版本的ubuntu才这样升级kernel,其14.04的升级kernel

竟然建议为了

apt-get install linux-image-extra-$(uname -r)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: