Centos 6.5 編譯Lilo 22.8

來源:互聯網
上載者:User

Centos 6.5 編譯Lilo 22.8
最近在調查一個bug,這個bug的詳細調查結果,在下一篇博文中進行描述。在本bug調查過程中,牽扯到bootloader —— LILO的編譯。
LILO的HomePage:http://lilo.alioth.debian.org/
下載、解壓後,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。目前我們的編譯環境中尚未安裝該部分工具。
通過http://rpmfind.net/查詢,確定as86、ld86、bcc工具包含在dev86包中,通過以下命令進行安裝即可。
 
  1. sudo yum install dev86

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.