OpenHarmony开发者论坛

标题: OpenHarmony-4.1-Release版本代码编译rk3568 linux kernel时出错 [打印本页]

作者: pl4y3pic    时间: 2024-7-16 16:48
标题: OpenHarmony-4.1-Release版本代码编译rk3568 linux kernel时出错
[md]**build.log:**

CC      drivers/hdf/khdf/model/audio/../../../../../../../device/board/hihope/rk3568/audio_drivers/headset_monitor/src/analog_headset_adc.o

AR      drivers/hdf/khdf/manager/built-in.a
../../../../device/board/hihope/rk3568/audio_drivers/headset_monitor/src/analog_headset_core.c:53:16: warning: unused function 'GpioDirectionInput' [-Wunused-function]
static int32_t GpioDirectionInput(struct device *dev, uint32_t gpio, const char *label)
^
1 warning generated.
AR      drivers/hdf/khdf/model/audio/../../../../../../../device/board/hihope/rk3568/audio_drivers/built-in.a
AR      drivers/hdf/khdf/model/audio/built-in.a
AR      drivers/hdf/khdf/built-in.a
AR      drivers/hdf/built-in.a
AR      drivers/built-in.a
GEN     .version
CHK     include/generated/compile.h
GEN     .tmp_initcalls.lds
LTO     vmlinux.o
ld.lld: warning: stack frame size (4256) exceeds limit (2048) in function 'get_exec_file_signature_info'
MODPOST vmlinux.symvers
WARNING: modpost: vmlinux.o(___ksymtab_gpl+rockchip_clk_register_armclk+0x0): Section mismatch in reference from the variable __ksymtab_rockchip_clk_register_armclk to the function .init.text:rockchip_clk_register_armclk()
The symbol rockchip_clk_register_armclk is exported and annotated __init
Fix this by removing the __init annotation of rockchip_clk_register_armclk or drop the export.

MODINFO modules.builtin.modinfo
GEN     modules.builtin
LD      .tmp_vmlinux.btf
BTF     .btf.vmlinux.bin.o
die__process_unit: DW_TAG_label (0xa) @ <0xe9> not handled!
die__process_unit: tag not supported 0xa (label)!
die__process_unit: DW_TAG_label (0xa) @ <0xff> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x11e> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x142> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x167> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x18a> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1a5> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1be> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1e0> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x208> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x22f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x244> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x265> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x288> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2ad> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2d2> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2ef> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x31c> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x341> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x363> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x46f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x488> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x4a4> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x4c6> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x4e7> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x508> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x52b> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x553> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x575> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x596> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x5b7> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x5da> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x5f4> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x60d> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x627> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x648> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x668> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x68a> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x6a3> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x6c2> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x6dd> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x6f8> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x719> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x736> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x75a> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x778> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x797> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x7ba> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x7dd> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x805> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x824> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x941> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x964> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x987> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x9a7> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x9c7> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x9e3> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xa0f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xb29> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xb4c> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xb66> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xb88> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xba9> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xbca> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xbed> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xc0f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xc30> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xc51> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xc74> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xc96> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xdb6> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xdd6> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xef4> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xf18> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xf37> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xf56> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xf73> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xf96> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xfbc> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xfe1> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xffe> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x110c> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1130> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x114c> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1267> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1291> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x12ab> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x12cd> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x12ee> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x130f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1332> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1354> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1375> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1396> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x13b9> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x14eb> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1604> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1629> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1652> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x167b> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x16a4> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x16c8> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x16f0> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x170f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1738> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x175c> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x177d> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x17aa> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x17d2> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x17ff> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1827> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x184d> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x186e> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1892> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x18b1> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x18d7> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x19de> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x19fe> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1a1d> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1a46> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1a68> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1a98> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1ab0> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1aca> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1ae4> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1aff> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1b19> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1b34> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1b4c> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1b66> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1b80> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1b9b> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1bb3> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1bcd> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1bf4> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1d0e> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1e2f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1f51> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1f79> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1fa0> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1fc3> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x1fe6> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x200a> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2129> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x214a> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x216b> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2188> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x22a9> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x22cf> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x22f1> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2315> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2434> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2459> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x247e> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x24a3> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x24c8> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x24ec> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2510> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x253a> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x255e> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2588> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x25ac> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x25d4> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x25fc> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2620> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2644> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2668> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x276f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2798> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x28bc> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x28e0> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x29f8> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2a12> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2b20> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2b45> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2b69> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2b92> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2bb9> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2bdd> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2cfd> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2d1d> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2e26> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x2f38> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x304e> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x316a> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3189> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3294> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x33ad> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x33c9> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x34d6> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x34f2> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3606> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x361f> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x363b> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3749> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3763> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3780> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x388e> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x38a7> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x38c3> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x39d0> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3add> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3af9> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3c06> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3c22> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3d30> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3d4d> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3e5c> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3e79> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3f88> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x3fa5> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x40b4> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x40ce> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x40e8> not handled!
Killed
LD      .tmp_vmlinux.kallsyms1
KSYMS   .tmp_vmlinux.kallsyms1.S
AS      .tmp_vmlinux.kallsyms1.S
LD      .tmp_vmlinux.kallsyms2
KSYMS   .tmp_vmlinux.kallsyms2.S
AS      .tmp_vmlinux.kallsyms2.S
LD      vmlinux
BTFIDS  vmlinux
FAILED: load BTF from vmlinux: Unknown error -22make[2]: *** [/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/out/kernel/src_tmp/linux-5.10/Makefile:1225: vmlinux] Error 255
make[1]: *** [arch/arm64/Makefile:208: rk3568-toybrick-x0-linux.img] Error 2
make[1]: Leaving directory '/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/out/kernel/OBJ/linux-5.10'
make: *** [Makefile:192: __sub-make] Error 2
ninja: build stopped: subcommand failed.
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR]     return func(*args, **kwargs)
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 67, in run
[OHOS ERROR]     raise exception
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR]     super().run()
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/interface/build_module_interface.py", line 72, in run
[OHOS ERROR]     raise exception
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/interface/build_module_interface.py", line 70, in run
[OHOS ERROR]     self._target_compilation()
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 103, in _target_compilation
[OHOS ERROR]     self.target_compiler.run()
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/ninja.py", line 38, in run
[OHOS ERROR]     self._execute_ninja_cmd()
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/ninja.py", line 69, in _execute_ninja_cmd
[OHOS ERROR]     SystemUtil.exec_command(
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/system_util.py", line 64, in exec_command
[OHOS ERROR]     LogUtil.get_failed_log(log_path)
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 193, in get_failed_log
[OHOS ERROR]     LogUtil.get_compiler_failed_log(log_path)
[OHOS ERROR]   File "/home/kk/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 180, in get_compiler_failed_log
[OHOS ERROR]     raise OHOSException(
[OHOS ERROR] exceptions.ohos_exception.OHOSException: COMPILE Failed! Please check error in /home/kk/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /home/kk/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log
[OHOS ERROR]
[OHOS ERROR] Code:        4000
[OHOS ERROR]
[OHOS ERROR] Reason:      COMPILE Failed! Please check error in /home/kk/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /home/kk/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log
[OHOS ERROR]
[OHOS ERROR] Error Type:  Ninja build error
[OHOS ERROR]
[OHOS ERROR] Description: An unknown error occurred while executing 'ninja -C'.
[OHOS ERROR]
[OHOS ERROR] Solution:    no solution
[OHOS ERROR]
[/md]
作者: 润开鸿_梁开祝    时间: 2024-7-16 21:23
看看是不是磁盘空间不够了
作者: pl4y3pic    时间: 2024-7-17 09:36
回复 润开鸿_梁开祝: Disk space enough, used 35%.




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5