lede icon indicating copy to clipboard operation
lede copied to clipboard

编译失败,错误信息:elfutils

Open jw10126121 opened this issue 1 year ago • 2 comments

详细叙述

20241211最新master分支源码在MacOS环境下编译失败,找到类似的错误,但看回复已修复,但实测还是出现。

重复 issue

  • [x] 没有类似的 issue

具体型号

AX18

详细日志

make[3]: *** [Makefile:38: /Volumes/OpenWrt/wrt/build_dir/host/elfutils-0.191/.configured] Error 1 make[3]: Leaving directory '/Volumes/OpenWrt/wrt/tools/elfutils' time: tools/elfutils/compile#4.35#1.58#7.57 ERROR: tools/elfutils failed to build. make[2]: *** [tools/Makefile:231: tools/elfutils/compile] Error 1 make[2]: Leaving directory '/Volumes/OpenWrt/wrt' make[1]: *** [tools/Makefile:227: /Volumes/OpenWrt/wrt/staging_dir/host/stamp/.tools_compile_nyyynyyynnnyyyyynyyyyyyynyyynynyynnynnyyyyyynyyyyyyyyyyynynnyyyyynyyy] Error 2 make[1]: Leaving directory '/Volumes/OpenWrt/wrt' make: *** [/Volumes/OpenWrt/wrt/include/toplevel.mk:231: world] Error 2

jw10126121 avatar Dec 11 '24 09:12 jw10126121

请问解决了吗,我也是mac编译报错了 checking whether the compiler generates build-ids... ./configure: line 6978: -n: command not found no configure: WARNING: compiler doesn't generate build-id by default checking whether gcc supports -Wl,-z,relro... no checking for __thread support... no configure: error: __thread support required make[3]: *** [Makefile:38: /Volumes/PortableSSD/lede/build_dir/host/elfutils-0.191/.configured] Error 1 make[3]: Leaving directory '/Volumes/PortableSSD/lede/tools/elfutils' time: tools/elfutils/compile#3.47#0.89#5.86 ERROR: tools/elfutils failed to build. make[2]: *** [tools/Makefile:231: tools/elfutils/compile] Error 1 make[2]: Leaving directory '/Volumes/PortableSSD/lede' make[1]: *** [tools/Makefile:227: /Volumes/PortableSSD/lede/staging_dir/host/stamp/.tools_compile_nyyynyyynnnyyyyynyyyyyyynyyynynyynnynnyyyyyynyyyyyyyyyyynynnyyyyyyyyy] Error 2 make[1]: Leaving directory '/Volumes/PortableSSD/lede' make: *** [/Volumes/PortableSSD/lede/include/toplevel.mk:231: world] Error 2

Young-045 avatar Feb 14 '25 06:02 Young-045

@Young-045 我也遇到了同样问题,请问你这边解决了吗?

Jiang00 avatar Feb 18 '25 08:02 Jiang00