Missing symbols from static library in linked executable

前端 未结 1 1873
执念已碎
执念已碎 2021-01-18 18:09

I have a problem with static library symbols missed in linked executable. Here is the description of my problem:

I have static library built from several object file

相关标签:
1条回答
  • 2021-01-18 18:56

    Use -rdynamic -Wl,-whole-archive <all your libs> -Wl,-no-whole-archive <boost, pthread and so on> - one of your libs aren't within --whole-archive

    0 讨论(0)
提交回复
热议问题