2013-11-14 56 views
1

我正在冒險進入Android嵌入式開發領域,並得到了自己的BeagleBone Black。我正在關注Andrew Henderson's guide,並卡住了。我做了它對kernel portion,並安裝了CA certificates,但是當我運行該腳本build_kernel.sh,我得到在BeagleBone黑色上構建rowboat-android

+ Detected build host [] 
+ host: [x86_64] 
+ git HEAD commit: [3b8714a41677a022608ba1f4838c94c8c172e496] 
Installing: gcc-linaro-arm-linux-gnueabihf 
----------------------------- 
--2013-11-13 14:54:12-- https://launchpad.net/linaro-toolchain-binaries/trunk/2013.04/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux.tar.xz 
Resolving launchpad.net... 91.189.89.222, 91.189.89.223 
Connecting to launchpad.net|91.189.89.222|:443... connected. 
ERROR: cannot verify launchpad.net's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287': 
    Self-signed certificate encountered. 
To connect to launchpad.net insecurely, use `--no-check-certificate'. 
Unable to establish SSL connection. 

[Process completed] 

我試着以root身份運行,以及普通用戶,具有相同的結果。有任何想法嗎?提前致謝。

編輯1:

我跑使用--no檢查證書標誌,作爲輸出建議,並得到了

sh-3.2# ./build_kernel.sh --no-check-certificate 
+ Detected build host [] 
+ host: [x86_64] 
+ git HEAD commit: [3b8714a41677a022608ba1f4838c94c8c172e496] 
Installing: gcc-linaro-arm-linux-gnueabihf 
----------------------------- 
--2013-11-14 09:06:35-- https://launchpad.net/linaro-toolchain-binaries/trunk/2013.04/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux.tar.xz 
Resolving launchpad.net... 91.189.89.223, 91.189.89.222 
Connecting to launchpad.net|91.189.89.223|:443... connected. 
Unable to establish SSL connection. 

我決不是一個Linux的親,但我正在學習。我正確使用--no-check-certificate標誌嗎?

+2

您是否嘗試過使用--no-check-certificate來告訴您? – pjc50

+0

@ pjc50 - 感謝您的建議。是的,我已經嘗試過,並得到了相同的結果。增加了問題信息 – Thomas

+0

任何爲什麼downvote?我怎樣才能讓這個問題變得更好? – Thomas

回答

1

爲什麼不使用Andrew提供的預建圖像? http://icculus.org/~hendersa/android/

只需在Android :: Overview()部分使用下載鏈接即可。

+0

謝謝!我想我現在可能會這樣做。我想學習如何從源代碼構建。 – Thomas

+1

@Thomas沒問題。 Andrew在去年夏天參加了我的一個研究生課程,在構建Linux內核方面非常有幫助。給他發一封電子郵件。如果他有時間的話,我相信他會盡力幫助你。 – bblincoe