完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
Platform: ROCKCHIP
OS: Android 6.0 Kernel: 3.10.92 拿到一台新安装的编译用服务器, 版本是: Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) 开始build会遇到一些缺少package的error,小结如下。 Build Kernel: Error 1: build@build--machine:~/rk3288/kernel$ make rk3288-tb_8846.img 。..。.. LD vmlinux SORTEX vmlinux SYSMAP System.map OBJCOPY arch/arm/boot/Image Kernel: arch/arm/boot/Image is ready AS arch/arm/boot/compressed/head.o LZO arch/arm/boot/compressed/piggy.lzo /bin/sh: 1: lzop: not found CC arch/arm/boot/compressed/misc.o make[2]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1 make[2]: *** Waiting for unfinished jobs.。.. make[2]: *** wait: No child processes. Stop. make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2 make: *** [zImage] Error 2 解决办法: #sudo apt-get install lzop Error 2: build@build--machine:~/rk3288/kernel$ make rk3288-tb_8846.img scripts/kconfig/conf --silentoldconfig Kconfig ^C build@build--machine:~/rk3288/kernel$ make rk3288-tb_8846.img CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h‘ is up to date. CALL scripts/checksyscalls.sh CHK include/generated/compile.h GEN drivers/video/rockchip/screen/lcd.h Kernel: arch/arm/boot/Image is ready LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready make: *** [kernel.img] Error 127 #### make failed to build some targets (18 seconds) #### 解决办法: 安装64bit机子对32bit程序运行的支持。 #sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 另外,Android 5.1之后用的java环境是 openjdk-7,否则报错。 解决办法: #sudo apt-get install openjdk-7-jdk #PATH=/usr/lib/jvm/java-7-openjdk-amd64/bin:$PATH Build Android: Error1: build@build--machine:~/rk3288/kernel$ make -j8 。..。.. Notice file: external/jarjar/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/jarjar.jar.txt Yacc: aidl 《= frameworks/base/tools/aidl/aidl_language_y.y prebuilts/misc/linux-x86/bison/bison -d -o out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp frameworks/base/tools/aidl/aidl_language_y.y Notice file: frameworks/base/tools/aidl/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//bin/aidl.txt Lex: aidl 《= frameworks/base/tools/aidl/aidl_language_l.l make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] Broken pipe make: *** Waiting for unfinished jobs.。.. flex-2.5.39: fatal internal error, exec of /usr/bin/m4 failed frameworks/base/tools/aidl/aidl_language_l.l:55: warning, rule cannot be matched make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp] Broken pipe make: *** Deleting file `out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp’ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 解决办法: #sudo apt-get install bison Error2: build@build--machine:~/rk3288/kernel$ make -j8 Copy: out/target/product/rk3288/system/etc/.allBlock Copy: out/target/product/rk3288/system/etc/.videoBlock Copy xml: out/target/product/rk3288/system/etc/GS8604.xml /bin/bash: xmllint: command not found make: *** [out/target/product/rk3288/system/etc/GS8604.xml] Error 127 make: *** Waiting for unfinished jobs.。.. preparing StaticLib: libc_common [including out/target/product/rk3288/obj/STATIC_LIBRARIES/libc_thread_atexit_impl_intermediates/libc_thread_atexit_impl.a] preparing StaticLib: libc_common [including out/target/product/rk3288/obj/STATIC_LIBRARIES/libc_tzcode_intermediates/libc_tzcode.a] target StaticLib: libc_common (out/target/product/rk3288/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a) #### make failed to build some targets (12:49 (mm:ss)) #### 解决方法: #sudo apt-get install libxml2-utils |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
498 浏览 0 评论
768 浏览 1 评论
667 浏览 1 评论
1893 浏览 1 评论
3138 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 15:20 , Processed in 0.603385 second(s), Total 74, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号