LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1219|回复: 1

link __pthread_register_cancel error

[复制链接]
发表于 2008-2-14 17:52:02 | 显示全部楼层 |阅读模式
我在做多线程程序时编译不了,调用了pthread_cleanup_push函数,报undefined reference to `__pthread_register_cancel' 错误。
环境:gcc 3.4.6
我看了 libpthread.a 的确没有__pthread_register_cancel 函数,请问该如何解决,谢谢!
发表于 2008-2-16 16:47:39 | 显示全部楼层
there's one useful website: google, it can direct you to:

http://groups.google.com/group/c ... %23811b0bee3cce9569
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表