lzhong5 发表于 2017-10-5 19:02:30

Android SDK Kernel下编译linux内核,出现未知错误

本帖最后由 lzhong5 于 2017-10-5 19:04 编辑

按照http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel编译内核。在 Firefly-RK3288 Android SDK Kernel目录下运行make firefly-rk3288-linux_defconfig,出现

*******************************************************************************************************************
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/root/init.environ.rc”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/root/init.environ.rc”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libisp_silicomimageisp_api.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libisp_silicomimageisp_api.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libisp_silicomimageisp_api.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libisp_silicomimageisp_api.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/modules/mali_kbase.ko”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/modules/mali_kbase.ko”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libapedec.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libapedec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libcsiconv.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libcsiconv.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libffmpeg.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libffmpeg.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libffmpeg_vp9dec.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libffmpeg_vp9dec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libhevcdec.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libhevcdec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libjesancache.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libjesancache.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libjpeghwdec.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libjpeghwdec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libjpeghwenc.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libjpeghwenc.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libRKBluray.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libRKBluray.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/librkboxffplayer.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/librkboxffplayer.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/librkffplayer.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/librkffplayer.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/librk_hevcdec.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/librk_hevcdec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/librk_on2.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/librk_on2.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/librkswscale.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/librkswscale.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/librkwmapro.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/librkwmapro.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libapedec.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libapedec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libcsiconv.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libcsiconv.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libffmpeg.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libffmpeg.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libffmpeg_vp9dec.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libffmpeg_vp9dec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libhevcdec.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libhevcdec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libjesancache.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libjesancache.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libjpeghwdec.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libjpeghwdec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libjpeghwenc.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libjpeghwenc.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libRKBluray.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libRKBluray.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/librkboxffplayer.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/librkboxffplayer.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/librkffplayer.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/librkffplayer.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/librk_hevcdec.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/librk_hevcdec.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/librk_on2.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/librk_on2.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/librkswscale.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/librkswscale.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/librkwmapro.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/librkwmapro.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/obj/lib/libion_rk.so”的命令
build/core/prebuilt.mk:165: 警告:忽略关于目标“out/target/product/rk3288/obj/lib/libion_rk.so”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/xbin/io”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/xbin/io”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/root/sbin/mkdosfs”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/root/sbin/mkdosfs”的旧命令
build/core/Makefile:32: 警告:覆盖关于目标“out/target/product/rk3288/system/lib/libext4_utils.so”的命令
build/core/base_rules.mk:529: 警告:忽略关于目标“out/target/product/rk3288/system/lib/libext4_utils.so”的旧命令
make: *** 没有规则可以创建目标“firefly-rk3288-linux_defconfig”。 停止。
*******************************************************************************************************************
源码版本为firefly-rk3288_android4.4_git_20141211.tar.gz。为什么出现这种错误,是有工具未安装还是操作问题?

lzhong5 发表于 2017-10-6 20:48:11

已解决。SDK更新后需要在SDK目录及Kernel目录下分别make clean。make -j8 firefly-ek3288.img时不用加-j8,可能是编译环境硬件不同的原因。
页: [1]
查看完整版本: Android SDK Kernel下编译linux内核,出现未知错误