xulinlinux 发表于 2024-1-24 19:54:09

RK3588 编译uboot正常,编译kerbel报错,按WIKI同步的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: *** Error 1
Makefile:1492: recipe for target 'scripts_mod' failed
make: *** Error 2
arch/arm64/Makefile:214: recipe for target 'rk3588-firefly-aio-3588q-mipi101-M101014-BE45-A1.img' failed
make: *** 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

lxk584213344 发表于 2024-1-25 14:44:04

今天好几个都是这个问题感觉是官网包的问题

天龙丽 发表于 2024-1-25 20:47:40

新人,来混个灯泡

lxk584213344 发表于 2024-1-26 08:38:03

借楼问下 楼主解决了吗?

lxk584213344 发表于 2024-1-29 10:28:35

楼主问题解决了吗
页: [1]
查看完整版本: RK3588 编译uboot正常,编译kerbel报错,按WIKI同步的SDK。