編譯Linux核心問題收集與總結

來源:互聯網
上載者:User

1、Makefile‘混和的隱含和普通規則’錯誤的解決   (mixed implicit and normal rules. Stop.)

        這是由於Make工具對低版本核心Makefile一些舊的規則相容不是很好,只需要修改一下開發包核心原碼裡的Makefile。

       http://blog.csdn.net/liukun321/article/details/6915641

2、核心編譯時間make menuconfig出現問題時的解決辦法    

        [root@ linux-2.6.22.6]# make menuconfig
         HOSTCC  scripts/kconfig/lxdialog/checklist.o
         In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
         scripts/kconfig/lxdialog/dialog.h:32:20: 致命錯誤:curses.h:沒有那個檔案或目錄
         編譯中斷。
         make[1]: *** [scripts/kconfig/lxdialog/checklist.o] 錯誤 1
         make: *** [menuconfig] 錯誤 2

            解決方案:安裝ncurses-devel 

            [root@ linux-2.6.22.6]# yum install -y ncurses-devel

3、invalid option `abi=aapcs-linux'  

You're building an EABI kernel with an OABI compiler. You can either
turn off the EABI option in your config file (Kernel Features->Use EABI),
or, you can use an EABI toolchain such as the ARM/GNU Linux one from
<http://www.codesourcery.com/gnu_toolchains/arm/download.html>.
I recommend the latter, because then you can run Arjan's new images.

將交叉編譯工具改成4.4.3神馬的就可以了。

   

4、array type has incomplete element type


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.