解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'

简介: 解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'

当时吾就傻眼了,赶紧上网一查链接加上:

  -L../boost/stage/lib -pthread

 好怪异!是的,可是已经编译通过啦.

目录
相关文章
undefined reference to symbol 'dlsym@@GLIBC_2.17' libdl.so: error adding symbols: DSO missing from c
undefined reference to symbol 'dlsym@@GLIBC_2.17' libdl.so: error adding symbols: DSO missing from c
414 0
解决办法:undefined reference to symbol 'shm_open@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'shm_open@@GLIBC_2.2.5'
244 0
|
11月前
|
Ubuntu C语言
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
103 0
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ZMCertification", referenced from:解决方法
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ZMCertification", referenced from:解决方法
169 0
解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
212 0
解决办法:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
561 0
undefined reference to symbol XGetWindowAttributes/cairo_destroy/XShapeGetRectangles
undefined reference to symbol XGetWindowAttributes/cairo_destroy/XShapeGetRectangles
108 0
relocation R_X86_64_PC32 against symbol lua_newstate can not be used when making a shared object
relocation R_X86_64_PC32 against symbol lua_newstate can not be used when making a shared object
210 0
no symbol version section for versioned symbol `memcpy@GLIBC_2.4'
no symbol version section for versioned symbol `memcpy@GLIBC_2.4'
127 0
解决办法:look up error: undefined symbol
解决办法:look up error: undefined symbol
249 0