Compile with dynamic library which has static link in it

后端 未结 0 1678
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 08:38
g++ main.c -lfoo

foo.so: undefined reference to `ABC::count()\'
foo.so: undefined reference to `ABC::getCurFrequency(int, int*)\'
foo.so: undefined reference to `AB         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题