Toybrick

TB-RK3588编译模块问题咨询

强仔

新手上路

积分
21
楼主
发表于 2023-3-16 15:39:44    查看: 1361|回复: 0 | [复制链接]    打印 | 只看该作者
我用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



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表