Centos 6.5 编译Lilo 22.8

8120阅读 0评论2016-08-01 kowems
分类:LINUX

    最近在调查一个bug,这个bug的详细调查结果,在下一篇博文中进行描述。在本bug调查过程中,牵扯到bootloader  ——  LILO的编译。
LILO的HomePage:
下载、解压后,make,报了以下错误信息:

点击(此处)折叠或打开

  1. [root@localhost lilo-22.8]# make all
  2. ./checkit
  3. GCC version 2.91 or later is required
  4. gcc version 4.4.7
  5. OKAY

  6. AS86 version 0.16.10 or later is required
  7. as86 is not present

  8. LD86 version 0.16.10 or later is required
  9. ld86 is not present

  10. BCC version 0.16.10 or later is recommended
  11. bcc is not present
  12. You will not be able to make floppy2, diag2.img, or lilo.com
  13. make: *** [test.img] Error 1
原因:编译LILO,需要用到16位、32位汇编编译器as86。目前我们的编译环境中尚未安装该部分工具。
通过查询,确定as86、ld86、bcc工具包含在dev86包中,通过以下命令进行安装即可。

点击(此处)折叠或打开

  1. sudo yum install dev86

上一篇:Linux编辑Project(微软mpp文件)
下一篇:[Bug]Linux内核启动过程中,ramdisk加载失败,系统崩溃