../lib//libscsdblog.so: undefined reference to `pthread_atfork'

代码中遇到这个问题,但是在makefile中已经添加了-lpthread.

最后发现问题时,引入库的顺序,把-lpthread放在最后就可以了。

posted @ 2014-11-18 19:11  冷冰若水  阅读(1455)  评论(0编辑  收藏  举报