Android 源码编译,make时出现错误,求助!!!!!!!! 50
evan@evan-pc:~/Android/mokesoures$make/bin/bash:prebuilts/gcc/linux-x86/arm/arm-linux...
evan@evan-pc:~/Android/mokesoures$ make
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: 无法执行二进制文件
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: 无法执行二进制文件
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: 无法执行二进制文件
============================================
........................................................(省略一些)
find: `src': 没有那个文件或目录
build/core/tasks/kernel.mk:82: **********************************************************
build/core/tasks/kernel.mk:83: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:84: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:85: * BoardConfig.mk file *
build/core/tasks/kernel.mk:86: **********************************************************
host StaticLib: libhost (/home/evan/Android/mokesoures/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [/home/evan/Android/mokesoures/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] 错误 1
evan@evan-pc:~/Android/mokesoures$ 展开
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: 无法执行二进制文件
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: 无法执行二进制文件
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: 无法执行二进制文件
============================================
........................................................(省略一些)
find: `src': 没有那个文件或目录
build/core/tasks/kernel.mk:82: **********************************************************
build/core/tasks/kernel.mk:83: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:84: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:85: * BoardConfig.mk file *
build/core/tasks/kernel.mk:86: **********************************************************
host StaticLib: libhost (/home/evan/Android/mokesoures/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [/home/evan/Android/mokesoures/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] 错误 1
evan@evan-pc:~/Android/mokesoures$ 展开
1个回答
2013-10-19
展开全部
"only run on 64-bit linux"塌饥你编译的是哪个版本的肢衫册?4.2?4.3?请使用64位的系统进行编译!历宏
追问
编译的是4.2.2,这个版本的源码不能在32位上编译吗?哪些版本可惜在32位电脑上编译?谢谢
追答
4.2.2请使用64位系统编译!2.3和4.0可以在32位上面编译!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询