最近在调查一个bug,这个bug的详细调查结果,在下一篇博文中进行描述。在本bug调查过程中,牵扯到bootloader —— LILO的编译。
LILO的HomePage:
下载、解压后,make,报了以下错误信息:
-
[root@localhost lilo-22.8]# make all
-
./checkit
-
GCC version 2.91 or later is required
-
gcc version 4.4.7
-
OKAY
-
-
AS86 version 0.16.10 or later is required
-
as86 is not present
-
-
LD86 version 0.16.10 or later is required
-
ld86 is not present
-
-
BCC version 0.16.10 or later is recommended
-
bcc is not present
-
You will not be able to make floppy2, diag2.img, or lilo.com
-
make: *** [test.img] Error 1
原因:编译LILO,需要用到16位、32位汇编编译器as86。目前我们的编译环境中尚未安装该部分工具。
通过查询,确定as86、ld86、bcc工具包含在dev86包中,通过以下命令进行安装即可。
阅读(8071) | 评论(0) | 转发(0) |