Toybrick
标题:
TB-RK3588编译模块问题咨询
[打印本页]
作者:
强仔
时间:
2023-3-16 15:39
标题:
TB-RK3588编译模块问题咨询
我用halloword程序测试RK3588编译模块出现如下问题,这是为啥?麻烦帮我解决一下,谢谢
lcq@lcq-CVN-H510I-GAMING:~/linux$ ./edge build -m halloword
[EDGE DEBUG] cp /home/lcq/linux/build/bin/misc.img /home/lcq/linux/out/rk3588/TB-RK3588X0/images
[EDGE DEBUG] Start build module: halloword ...
[EDGE DEBUG] make CROSS_COMPILE=/home/lcq/linux/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- LLVM=1 LLVM_IAS=1 -j 16 ARCH=arm64 modules
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
fatal: 不是一个 git 仓库(或者任何父目录):.git
[EDGE DEBUG] make CROSS_COMPILE=/home/lcq/linux/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- LLVM=1 LLVM_IAS=1 -j 16 ARCH=arm64 KSRC=/home/lcq/linux/kernel/linux-5.10 -C /home/lcq/linux/kernel/modules/halloword TARGET_ARCH=aarch64
make: 进入目录“/home/lcq/linux/kernel/modules/halloword”
make -C /home/lcq/linux/kernel/linux-5.10 M=/home/lcq/linux/kernel/linux-5.10 modules
make[1]: 进入目录“/home/lcq/linux/kernel/linux-5.10”
make[2]: *** 没有规则可制作目标“/home/lcq/linux/kernel/linux-5.10/missing-syscalls”,由“__build” 需求。 停止。
make[2]: *** 正在等待未完成的任务....
Makefile:1915: recipe for target '/home/lcq/linux/kernel/linux-5.10' failed
make[1]: *** [/home/lcq/linux/kernel/linux-5.10] Error 2
make[1]: 离开目录“/home/lcq/linux/kernel/linux-5.10”
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 2
make: 离开目录“/home/lcq/linux/kernel/modules/halloword”
[EDGE ERROR] Build module failed, cmd: make CROSS_COMPILE=/home/lcq/linux/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- LLVM=1 LLVM_IAS=1 -j 16 ARCH=arm64 KSRC=/home/lcq/linux/kernel/linux-5.10 -C /home/lcq/linux/kernel/modules/halloword TARGET_ARCH=aarch64
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3