这个错误通常意味着在编译内核时,CONFIG_X86_X32 选项被启用了,但系统中安装的 binutils 不支持 x86_x32 架构。你可以通过查看 .config 文件来确认这一点: shell grep CONFIG_X86_X32 .config 如果输出为 CONFIG_X86_X32=y,则表明该选项已被启用。 检查binutils是否已安装且支持x86_x32: 你可以通过运行以下命...
CONFIG_X86_X32_ABI := y KBUILD_AFLAGS += -DCONFIG_X86_X32_ABI KBUILD_CFLAGS += -DCONFIG_X86_X32_ABI else $(warning CONFIG_X86_X32 enabled but no binutils support) endifendif 1. 2. 3. 4. 5. 6. 7. 8. 9. 此段代码即是根据try-run的运行结果确定工具链是否支持elf32_x86_64,如果...
或者解压后运行sh文件; 第二:对应的有管理工具的deb,rpm等,通常的这类安装文件可以通过第三方的命令...
arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils support sh ./arch/x86/boot/install.sh 5.15.133.1-microsoft-standard-WSL2+ arch/x86/boot/bzImage System.map "/boot" run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 5.15.133.1-microsoft-standard-WSL2+ /boot/vmlinu...
问编译Linux内核模块时出错:“已启用CONFIG_X86_X32,但不支持binutils”和不需要的"n“字符ENAndroid ...
elf32_x86_64 support enabled to compile a kernel with this option set. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 由上述说明可知,CONFIG_X86_X32选项用于在 64 位处理器上运行原生 32 位程序,需要 binutils 2.22 或更高版本(带elf32_x86_64支持)。
问编译Linux内核模块时出错:“已启用CONFIG_X86_X32,但不支持binutils”和不需要的"n“字符ENAndroid ...
arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils support sed: can't read modules.order: No such file or directory make: *** [Makefile:1479: __modinst_pre] Error 2 解决方案: 这个报错原因是 `CONFIG_X86_X32 enabled but no binutils support`,选择重新编译binutils或者禁用CONFIG_...