最近幹點正經事起來了,不過正經事總是比較難搞,我在編譯 Buildroot[*註一] 的時候遇到錯誤訊息如下:
WARNING: `makeinfo' is missing on your system. You should only need it
if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[4]: ***
[..............................略/bfd.info]
Error 1
終於,在我細心的爬文後,從 mailing list 找到了解法了,只要將 toolchain_build_arm/ 底下的子目錄
binutils-*-build 移除掉,並執行 make clean ,再度重新執行 make 即可!
- *1:Buildroot 是一組 Makefile 可以用來輕鬆產生 Toolchain 與 Root Filesystem 並且使用 uclibc 函式庫。安裝可以透過匿名方式存取 svn
svn co svn://uclibc.org/trunk/buildroot
其他資訊參考:http://buildroot.uclibc.org/
二月 11, 2009 at 4:13 午後
您好,我是在make newlib的時候,遇到了和您有一樣error message的錯誤,請問您文中所說,移除掉的binutils-*-build指的是什麼呢?
目前正在buildroot的mailing list中尋找解決的方法,如果您願意回應指導,將感激不盡
謝謝!
三月 19, 2009 at 12:07 am
hello >.>>只要將 toolchain_build_arm/ 底下的子目錄 binutils-*-build 移除掉
指的是,當你遇到錯誤的時候,代表你已經在該路徑位置中存在一個目錄名為,
binutils-*-build , 星號代表的是版本 or else..
根據經驗,將此目移除,編譯就會通過。
現在我已經改方式去製作 CrossCompiler 了,
除非要製作 root filesystem ,
否則還有更好的工具 ^_^
四月 8, 2009 at 2:50 午後
textinfo 版本 > 4.8 會有此問題
用textinfo 4.8 就可以避開此問題
四月 16, 2009 at 12:18 午後
感謝 網路黑貓 的分享,
又多了一個方式去解決囉!!