2013-11-14 66 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