在编译arm64 Linux 内核驱动模块时出错,请大佬帮忙看看 #5972
Unanswered
StarryPortrait
asked this question in
Q&A
Replies: 4 comments 4 replies
-
你可以调下这里,看下是不是提取时候,加了额外的双引号 或者转义导致。然后提个 pr 过来 |
Beta Was this translation helpful? Give feedback.
0 replies
-
在此处 得到了-DARM64_ASM_ARCH='"armv8.5-a"' ,但在
处并为匹配成功,所以未进行单引号处理,处理单引号后正常
|
Beta Was this translation helpful? Give feedback.
1 reply
-
请问我该如何更新脚本 |
Beta Was this translation helpful? Give feedback.
1 reply
-
多谢大佬 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在编译时出现如上错误,以下是我的xmake.lua
我怀疑是自动生成的
-DARM64_ASM_ARCH='\"armv8.5-a\"'
的问题我尝试直接在源码中将 ARM64_ASM_ARCH 改为 字符串,编译通过。
我重复尝试添加一个
ARM64_ASM_ARCH=\"armv8.5-a\"
来覆盖自动生成的ARM64_ASM_ARCH='\"armv8.5-a\"'
但 手动添加的宏出现在了前面。请问大佬,有没有办法修改或覆盖自动生成的宏
Beta Was this translation helpful? Give feedback.
All reactions