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

前端 未结 4 2021
刺人心
刺人心 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:35

    Try : putting -fno-inline in your flags in Makefile. Basically g++4.4 is having issues without it. Try to put it OR remove the -O option. It solved the same problem I had.

提交回复
热议问题