Firefly开源社区

标题: RK3588 SDK内核编译报错,uboot编译正常。请教,uboot编译成功SDK应该是构建好了吧 [打印本页]

作者: xulinlinux    时间: 2024-1-25 11:34
标题: RK3588 SDK内核编译报错,uboot编译正常。请教,uboot编译成功SDK应该是构建好了吧
./build.sh uboot 成功。如果是SDK同步异常,应该uboot编译也不成功才对,现在是编译内核报错。

./build.sh extboot
报错信息如下:
.config:7527:warning: override: reassigning to symbol IP6_NF_RAW
.config:7529:warning: override: reassigning to symbol IP6_NF_NAT
.config:7530:warning: override: reassigning to symbol IP6_NF_TARGET_MASQUERADE
#
# 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:1492: recipe for target 'scripts_mod' failed
make[1]: *** [scripts_mod] Error 2
arch/arm64/Makefile:214: recipe for target 'rk3588-firefly-aio-3588q-mipi101-M101014-BE45-A1.img' failed
make: *** [rk3588-firefly-aio-3588q-mipi101-M101014-BE45-A1.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


请教同步了SDK为什么会报这个错误。
tchip_askquestions

log.txt

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


作者: lxk584213344    时间: 2024-1-25 14:39
我今天编译也是这个问题哎
之前还好的,不知道是啥情况。。。。。




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