/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libZThread.so: undefined reference to `pthread_mutex_trylock””
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libZThread.so: undefined reference to `pthread_key_create””
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libZThread.so: undefined reference to `pthread_getspecific””
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libZThread.so: undefined reference to `pthread_create””
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libZThread.so: undefined reference to `pthread_key_delete””
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libZThread.so: undefined reference to `pthread_setspecific””
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libZThread.so: undefined reference to `pthread_join””
本人认为是说libZThread里面用了pthread线程库,但是链接失败。 刚开始是LINKFLAGS没加-lpthread,后面加了还是有这个错误输出。 谁知道什么问题吗?
有这可能,你在编译libZThread.so的时候加上-lpthread试试
实时库(real time)