Firefly开源社区

标题: 编译ROC-RK3588-RT的sdk代码报错 [打印本页]

作者: flyfly_wangmin    时间: 2024-7-30 16:08
标题: 编译ROC-RK3588-RT的sdk代码报错


在Ubuntu-18.04的PC上,下载sdk代码rk3588_linux_release_20230114_v1.0
按照 1. 编译 Linux 固件 — Firefly Wiki (t-firefly.com) 步骤编译ROC-RK3588-RT的linux代码时,报错如下:
=========================
#
# configuration written to .config
#
  SYNC    include/config/auto.conf.cmd
  CC      scripts/mod/devicetable-offsets.s
In file included from ./include/linux/types.h:6,
                 from ./include/linux/mod_devicetable.h:12,
                 from scripts/mod/devicetable-offsets.c:3:
./include/uapi/linux/types.h:5:10: fatal error: asm/types.h: No such file or directory
    5 | #include <asm/types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:117: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 1
Makefile:1505: recipe for target 'scripts_mod' failed
make[1]: *** [scripts_mod] Error 2
arch/arm64/Makefile:214: recipe for target 'roc-rk3588-rt.img' failed
make: *** [roc-rk3588-rt.img] Error 2
ERROR: Running build_extboot failed!
ERROR: exit code 2 from line 785:
    make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS


tchip_askquestions

error.txt

1.18 KB, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1


作者: qq号2317783075    时间: 2024-7-30 16:12
应该是编译环境没设置好,再看看wiki




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1