在修改内核配置后,编译报错,发现是kernel/drivers/spi/spi-wk2xxx这个文件不是源码引起的,请修复一下。 MODPOST vmlinux.o drivers/spi/spi-wk2xxx: In function `wk2xxx_set_mctrl': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:828: undefined reference to `_mcount' /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:828:(.text+0xc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_get_mctrl': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:835: undefined reference to `_mcount' /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:835:(.text+0x24): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_enable_ms': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:958: undefined reference to `_mcount' /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:958:(.text+0x40): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_break_ctl': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:968: undefined reference to `_mcount' /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:968:(.text+0x58): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_type': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:1460: undefined reference to `_mcount' /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:1460:(.text+0x78): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx:/home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:1505: more undefined references to `_mcount' follow drivers/spi/spi-wk2xxx: In function `wk2xxx_verify_port': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:1505:(.text+0xbc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_request_port': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:1479:(.text+0x120): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_config_port': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:1488:(.text+0x154): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_release_port': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:1471:(.text+0x188): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_remove': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:1750:(.text+0x1bc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `_mcount' drivers/spi/spi-wk2xxx: In function `wk2xxx_dowork': /home/llq/p/proj/rk3568/kernel/drivers/spi/spi-wk2xxx.c:266:(.text+0x248): additional relocation overflows omitted from the output drivers/spi/spi-wk2xxx: In function `kmalloc': /home/llq/p/proj/rk3568/kernel/./include/linux/slab.h:548: undefined reference to `kmem_cache_alloc_trace' drivers/spi/spi-wk2xxx: In function `wk2xxx_tx_empty': |
-
1.28 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1