在ubuntu kylin 编译cubieboard2 的android镜像碰到的问题

mkimage 需要改成下面命令方式更新
sudo apt-get install u-boot-tools

//--------------------------------------------------------------------------
对jak的要求就是1.6,高了好像不行,总之对环境要求太严苛了
比一个开源的游戏引擎编译难伺候
//--------------------------------------------------------------------------
Make4.0版本过高问题解决
替换的时候注意 which make找到位置 make -v 确认版本
http://www.cnblogs.com/jiuyueguang/p/3156621.html
 
Android can only be built by versions 3.81 and 3.82
 
下载地址ftp://ftp.gnu.org/gnu/make/
 
make3.8.2的安装步骤:
 
tar -zxvf make3.8.2.tar.gz
 
在make-3.8.2目录下
 
./configure
 
make
 
make install
 
一般情况下不会出现错误,在/usr/local/bin中可得到新版本的make,复制到/usr/bin中  
 
 
//---------------------------------------------------------------------------
注意事项:java -version 有结果输出,但是 sudo java -version 是无法执行
所以在参照文档操作时候注意没用到sudo的地方不要用sudo,否则也会出错的
 
 
//---------------------------------------------------------------------------
就是make 的时候提示jdk版本不正确问题
ubuntu 15.04 Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar 问题解决
sudo apt-get remove jayatana
unset JAVA_TOOL_OPTIONS
//------------------------------------------------------------------------------
Make执行期间碰到
/bin/bash: gperf: command not found
解决办法:
apt-get install gperf
//------------------------------------------------------------------------------------
Make期间遇到问题
Can't locate Switch.pm  
 
解决办法:
http://www.cnblogs.com/yaozhongxiao/p/3811775.html
 
Installing Switch.pm using the Ubuntu repositories:
From the command-line, the installation can be completed by running the following command from the terminal (Ctrl-Alt-t):
sudo apt-get install libswitch-perl  
oWithin Synaptic, right-click on the libswitch-perl package, select Mark for installation, then click on the Apply button.
oWithin the Ubuntu Software Center (USC), search for the phrase libswitch-perl, highlight the package and select install:
Installing Switch.pm using CPAN:  
  If you would prefer to install this via cpan, follow these instructions:
Open a terminal(Ctrl-Alt-t).
Enter the command cpan.
At the prompt cpan[1]>, type install Switch.
Once completed, Type exit.
  The Switch.pm Perl module will now be available for you to use in your scripts.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值