Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编绎错误,物理机ubuntu 20.04.这段时间都是编绎不成功。之前是虚拟机也可以编绎成功的,后换物理机也不秆。有神帮忙看一下吗? #494

Open
adwzlad opened this issue Sep 6, 2024 · 1 comment

Comments

@adwzlad
Copy link

adwzlad commented Sep 6, 2024

/usr/bin/ld: init.o:(.data+0x528): undefined reference to _initialize_compile_cplus_types()' /usr/bin/ld: ../gdbsupport/libgdbsupport.a(agent.o): in function debug_agent_printf(char const*, ...)':
agent.cc:(.text+0xbf): undefined reference to debug_vprintf(char const*, __va_list_tag*)' /usr/bin/ld: ../gdbsupport/libgdbsupport.a(common-debug.o): in function debug_printf(char const*, ...)':
common-debug.cc:(.text+0xb1): undefined reference to debug_vprintf(char const*, __va_list_tag*)' /usr/bin/ld: ../gdbsupport/libgdbsupport.a(common-debug.o): in function debug_prefixed_vprintf(char const*, char const*, char const*, __va_list_tag*)':
common-debug.cc:(.text+0x1ce): undefined reference to debug_print_depth' /usr/bin/ld: common-debug.cc:(.text+0x1ff): undefined reference to debug_print_depth'
/usr/bin/ld: common-debug.cc:(.text+0x234): undefined reference to `debug_vprintf(char const*, __va_list_tag*)'
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:2173: gdb] Error 1
make[6]: Leaving directory '/home/h/lede/build_dir/toolchain-x86_64_gcc-11.3.0_musl/gdb-14.1/gdb'
make[5]: *** [Makefile:11319: all-gdb] Error 2
make[5]: Leaving directory '/home/h/lede/build_dir/toolchain-x86_64_gcc-11.3.0_musl/gdb-14.1'
make[4]: *** [Makefile:1021: all] Error 2
make[4]: Leaving directory '/home/h/lede/build_dir/toolchain-x86_64_gcc-11.3.0_musl/gdb-14.1'
make[3]: *** [Makefile:78: /home/h/lede/build_dir/toolchain-x86_64_gcc-11.3.0_musl/gdb-14.1/.built] Error 2
make[3]: Leaving directory '/home/h/lede/toolchain/gdb'
time: toolchain/gdb/compile#231.18#18.83#126.60
ERROR: toolchain/gdb failed to build.
make[2]: *** [toolchain/Makefile:97: toolchain/gdb/compile] Error 1
make[2]: Leaving directory '/home/h/lede'
make[1]: *** [toolchain/Makefile:93: /home/h/lede/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory '/home/h/lede'
make: *** [/home/h/lede/include/toplevel.mk:231:world] 错误 2

@wggglggg
Copy link

wggglggg commented Nov 5, 2024

显示好像与gdb有关,我也是小白

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants