ELF: linking: Why do I get undefined references in .so files

前端 未结 4 2020
刺人心
刺人心 2021-02-06 03:50

I\'m trying to build a program against wxWidgets, and I get a linker error. I\'d like to really understand what it means. The error is:

/usr/lib/libwx_baseu-2.8.         


        
4条回答
  •  误落风尘
    2021-02-06 04:16

    I thought that .so files had all its symbols resolved, contrary to .o files that still need linking.

    Shared libraries can be incomplete, that is OK.

    do you know how I can get a list on undefined symbols in an ELF file

    Use

    nm -C -u libwx_baseu-2.8.so

提交回复
热议问题