首页 > 代码库 > 编译linux-3.15.5时遇到的几个错误
编译linux-3.15.5时遇到的几个错误
1. make时遇到一个标志位不被支持,需要升级gcc:
yum update gcc
2. make modules_install时提示137错误:
需要增大虚拟机内存或swap分区。
3. make install时提示:
[root@mon1 linux-3.15.5]# make install
sh /software/linux-3.15.5/arch/x86/boot/install.sh 3.15.5 arch/x86/boot/bzImage \
System.map "/boot"
ERROR: modinfo: could not find module ipt_addrtype
ERROR: modinfo: could not find module libcrc32c
ERROR: modinfo: could not find module vboxsf
ERROR: modinfo: could not find module autofs4
ERROR: modinfo: could not find module ipv6
ERROR: modinfo: could not find module exportfs
ERROR: modinfo: could not find module microcode
ERROR: modinfo: could not find module snd_page_alloc
ERROR: modinfo: could not find module vboxguest
ERROR: modinfo: could not find module vboxvideo