libpthread.so.0: error adding symbols: DSO missing from command line

前端 未结 14 1010
长情又很酷
长情又很酷 2020-11-22 07:00

When I\'m compiling openvswitch-1.5.0, I\'ve encountered the following compile error:

 gcc -Wstrict-prototypes -Wall -Wno-sign-compare -Wpointer-arith
     -         


        
14条回答
  •  既然无缘
    2020-11-22 07:21

    Try to add -pthread at the end of the library list in the Makefile.

    It worked for me.

提交回复
热议问题