瑞芯微Rockchip开发者社区
登录
直播中
他在笑
9年用户
723经验值
擅长:可编程逻辑 电源/新能源 制造/封装
私信
关注
[问答]
在实体机其上部署的docker报错怎么解决?
开启该帖子的消息推送
Docker
实体机其上部署的docker。
日志如下:
root@993c600bdb31:~/workspace/rk3399/OK3399-android7-source# ./build-rk3399-all.sh -u
will build update.img
Start build kernel
CLEAN .
CLEAN .tmp_versions
#### make completed successfully (4 seconds) ####
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configura
ti
on written to .config
#
#### make completed successfully (1 seconds) ####
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/sortextable
HOSTCC scripts/genksyms/genksyms.o
CHK include/generated/utsrelease.h
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/genksyms/lex.lex.o
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
CC scripts/mod/empty.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/mod/mk_elfconfig
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/dtc/livetree.o
CC kernel/bounds.s
CC scripts/mod/devicetable-offsets.s
CHK include/generated/timeconst.h
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
MKELF scripts/mod/elfconfig.h
CHK scripts/mod/devicetable-offsets.h
HOSTCC scripts/dtc/util.o
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/dtc/dtc-lexer.lex.o
CHK include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/genksyms/genksyms
HOSTLD scripts/dtc/dtc
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTLD scripts/mod/modpost
DTC arch/arm64/boot/dts/rockchip/ok3399.dtb
arch/arm64/boot/dts/rockchip/ok3399.dts:45:33: fatal error: dt-bindings/pwm/pwm.h: No such file or directory
#include "dt-bindings/pwm/pwm.h"
^
compilation terminated.
scripts/Makefile.lib:314: recipe for target 'arch/arm64/boot/dts/rockchip/ok3399.dtb' failed
make[1]: *** [arch/arm64/boot/dts/rockchip/ok3399.dtb] Error 1
arch/arm64/Makefile:122: recipe for target 'rockchip/ok3399.dtb' failed
make: *** [rockchip/ok3399.dtb] Error 2
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (3 seconds) ####
Build kernel failed!
回帖
(2)
李欣
2021-12-30 11:01:01
报错信息显示找不到pwm.h这个头文件,可以看看对应的路劲下是否有此文件,并查看其权限是否正常以及是否能正常打开编辑。
OK3399-android7-source/kernel/include/dt-bindings/pwm$ls -l
-rw-r--r-- 1 forlinx forlinx 355 Dec 30 2019 pwm.h
报错信息显示找不到pwm.h这个头文件,可以看看对应的路劲下是否有此文件,并查看其权限是否正常以及是否能正常打开编辑。
OK3399-android7-source/kernel/include/dt-bindings/pwm$ls -l
-rw-r--r-- 1 forlinx forlinx 355 Dec 30 2019 pwm.h
举报
刘艳芳
2021-12-30 11:01:05
应该是头文件搜索路径有问题,如果我使用相对路径指定特定的头文件就不报这个错。但是其他的头文件引用报错
应该是头文件搜索路径有问题,如果我使用相对路径指定特定的头文件就不报这个错。但是其他的头文件引用报错
举报
更多回帖
rotate(-90deg);
回复
相关问答
Docker
RK3399 debian系统如何使用
docker
部署
app呢
2022-03-07
1605
如何在RDKx3
部署
docker
镜像?
2023-08-02
1170
请问板子上linux系统是自带
docker
环境吗?
2022-01-05
834
如何在RK3568
上部署
docker
环境呢?
2023-03-13
3186
怎么去解决cube ai
部署
后
报错
的问题呢
2022-11-01
1363
在
鸿蒙上能安装
docker
吗?
2023-03-21
3556
怎样
在
RK3399-firefly上安装
Docker
容器呢
2022-03-07
1881
基于
docker
技术的工业App架构是如何构成的
2021-09-28
1368
如何
部署
image + u-boot + devicetree + rootfs?
2023-03-29
310
CRIO 扫描模式
部署
失败
2017-11-09
6698
发帖
登录/注册
20万+
工程师都在用,
免费
PCB检查工具
无需安装、支持浏览器和手机在线查看、实时共享
查看
点击登录
登录更多精彩功能!
首页
论坛版块
小组
免费开发板试用
ebook
直播
搜索
登录
×
20
完善资料,
赚取积分