2014-01-07 24 views
1

我想在我的虛擬機ubuntu 12.04上構建openrisc toochain。在我的虛擬機出於某些原因墜毀之前,我成功做了一次,但現在我無法做到這一點。 我正在按照這些說明來實現這個http://openrisc.net/toolchain-build.html,同時我不能以簡單的方式或手動方式構建它。我在製作binutils(手工)結束時收到此消息,但我也從easy中收到了同樣的消息。構建oprenrisc工具鏈的問題

make[3]: Leaving directory `/opt/binutils-build/bfd/po' 
make[3]: Entering directory `/opt/binutils-build/bfd/po' 
make[3]: Nothing to be done for `info'. 
make[3]: Leaving directory `/opt/binutils-build/bfd/po' 
make[3]: Entering directory `/opt/binutils-build/bfd' 
make[3]: Nothing to be done for `info-am'. 
make[3]: Leaving directory `/opt/binutils-build/bfd' 
make[2]: *** [info-recursive] Error 1 
make[2]: Leaving directory `/opt/binutils-build/bfd' 
make[1]: *** [all-bfd] Error 2 
make[1]: Leaving directory `/opt/binutils-build' 
make: *** [all] Error 2 

回答

1

我找到解決這個問題,我從OpenCores的頁面

sudo apt-get -y install build-essential make gcc g++ flex bison patch \ 
texinfo libncurses5-dev libmpfr-dev libgmp3-dev libmpc-dev libzip-dev \ 
python-dev libexpat1-dev 
+0

安裝這些依賴你能分享你如何找出包錯過了實現這一點? – likern

+0

是的,我發現本教程中使用的工具鏈已過時,因此我去了opencores.org網站並瞭解他們的工具鏈手冊或教程。在這裏,工具鏈運作良好,他們將爲您提供完成工作的所有必需品。你也會發現我的問題中提到的教程不完整。所以如果你感興趣的話,這是鏈接http://opencores.org/or1k/OpenRISC_GNU_tool_chain – mohessaid