Toybrick

标题: 编译内核模块错误,怎么解决?内核版本5.10.66 [打印本页]

作者: wangjianli1982    时间: 2023-11-23 17:57
标题: 编译内核模块错误,怎么解决?内核版本5.10.66
编译内核模块错误,怎么解决?内核版本5.10.66
CROSS_COMPILE=/home/wjl/rk3588/edge/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
make -C /home/wjl/rk3588/edge/kernel/linux-5.10 M=/home/wjl/rk3588 modules
make[1]: 进入目录“/home/wjl/rk3588/edge/kernel/linux-5.10”
  CC [M]  /home/wjl/rk3588/USB30_HOST_PWREN.o
aarch64-linux-gnu-gcc: error: unrecognized command line option '-fpatchable-function-entry=2'
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mrecord-mcount'; did you mean '-frecord-marker=4'?
make[2]: *** [scripts/Makefile.build:273:/home/wjl/rk3588/USB30_HOST_PWREN.o] 错误 1






欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3