|
发表于 2020-8-6 12:08:33
4218 浏览 1 回复
Android 编译报错 /bin/sh: 1: bc: not found
在服务器上编译Android9.0 出现一个错误:/bin/sh: 1: bc: not found
这是因为 bc 没有安装,bc 是字符终端下的一个计算器。
ubuntu 下命令安装:
|
|
手机微信同号:13682654092
|
|
|
|
|
|
- [DCT_INFO]: Start to generate cust_dtsi file...
- [DCT_INFO]: Generate cust_dtsi file successfully!
- [DCT_INFO]: DWS file path is /mt8788_v5.196/kernel-4.4/drivers/misc/mediatek/dws/mt6771/tb8788p1_64_bsp.dws
- [DCT_INFO]: Gen files path is /mt8788_v5.196/out/target/product/tb8788p1_64_bsp/obj/KERNEL_OBJ/arch/arm64/boot/dts/tb8788p1_64_bsp
- [DCT_INFO]: Log files path is /mt8788_v5.196/out/target/product/tb8788p1_64_bsp/obj/KERNEL_OBJ/arch/arm64/boot/dts/tb8788p1_64_bsp
- [DCT_INFO]: Parameter is cust_dtsi
- [DCT_INFO]: chip id: MT6771
- [DCT_INFO]: Chip ID : MT6771
- [DCT_INFO]: Project Info: tb8788p1_64_bsp
- [DCT_INFO]: Start to generate cust_dtsi file...
- [DCT_INFO]: Generate cust_dtsi file successfully!
- Using /mt8788_v5.196/kernel-4.4 as source for kernel
- HOSTCC scripts/dtc/dtc.o
- HOSTCC scripts/genksyms/genksyms.o
- CC kernel/bounds.s
- HOSTCC scripts/dtc/flattree.o
- SHIPPED scripts/genksyms/parse.tab.c
- SHIPPED scripts/genksyms/lex.lex.c
- CHK include/generated/timeconst.h
- SHIPPED scripts/genksyms/keywords.hash.c
- /bin/sh: 1: bc: not found
- make[2]: *** [include/generated/timeconst.h] Error 127
- make[1]: *** [prepare0] Error 2
- make[1]: *** Waiting for unfinished jobs....
- HOSTCC scripts/dtc/fstree.o
- CC scripts/mod/empty.o
- HOSTCC scripts/mod/mk_elfconfig
- HOSTCC scripts/dtc/data.o
- SHIPPED scripts/genksyms/parse.tab.h
- HOSTCC scripts/selinux/genheaders/genheaders
- HOSTCC scripts/genksyms/parse.tab.o
- CC scripts/mod/devicetable-offsets.s
复制代码 |
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|