android 编译问题汇总

来源:互联网 发布:樟木头淘宝培训 编辑:程序博客网 时间:2024/05/22 07:06

一、在./build.sh -p sun7i_android时候出现

CC [M]  /home/lijy/tmp/lichee/linux-3.0/modules/mali/DX910-SW-99002-r2p4-02rel1/driver/src/devicedrv/ump/common/ump_kernel_common.o arm-none-linux-gnueabi-gcc: directory: No such file or directory

办法:

出错的目录(我的目录为/lichee/linux-3.3/modules/mali/DX910-SW-99002-r3p2-01rel0/driver/src/devicedrv/ump)下面的kbuild和makefile.common文件里面的SVN_REV设置成 SVN_REV := 1,

           --注意1后面有个逗号,经测试可以编译通过

二:在make -j8 时候出现找不到jar命令

办法:

cd /usr/bin

ln -s -f /usr/java/jdk1.6.0_30/bin/jar //此处为你安装java所在目录



0 0