买书一本《虚拟化与云计算》,领我步入虚拟化大门,开始预研...
Fedora 15, kernel 2.6.40, 编译 kernel linux-2.6.27.46 (配置qemu-kvm要求我用这个版本)
1. Downlaod the kernel and `tar` it then #cd linux-2.6.27.46
2.run
$make menuconfig
Makefile:443: *** mixed implicit and normal rules. Stop.
出错了,google了下,原来是新版make与旧版的兼容性问题,根据错误提示,是443行出错了, 那就去443行改呗:
$vi +443 Makefile
把: config %config: scripts_basic outputmakefile FORCE
改成:%config: scripts_basic outputmakefile FORCE
继续$make menuconfig
Makefile:1605: *** mixed implicit and normal rules. Stop.
出错,继续改:
$vi +1605 Makefile
/ %/: prepare scripts FORCE
把上面那行改成下面形式:
%/: prepare scripts FORCE
继续$make menuconfig
#成功,看到熟悉的界面了