编译错误,望指正。/tmp/ccjtB3uJ.o: In function `thread_filter2':

stone612 2003-10-16 04:32:05
linux下多线程程序,编译时出现错误如下,请帮忙解决:
/tmp/ccjtB3uJ.o: In function `thread_filter2':
/tmp/ccjtB3uJ.o(.text+0xc63): undefined reference to `_itoa'
/tmp/ccjtB3uJ.o(.text+0xd6e): undefined reference to `_itoa'
/tmp/ccjtB3uJ.o(.text+0xdb2): undefined reference to `_itoa'
/tmp/ccjtB3uJ.o(.text+0xe23): undefined reference to `_itoa'
/tmp/ccjtB3uJ.o(.text+0xec4): undefined reference to `itoa'
/tmp/ccjtB3uJ.o(.text+0xf06): undefined reference to `itoa'
/tmp/ccjtB3uJ.o(.text+0xf77): undefined reference to `itoa'
/tmp/ccjtB3uJ.o(.text+0x106b): undefined reference to `_itoa'
/tmp/ccjtB3uJ.o(.text+0x10dd): undefined reference to `_itoa'
/tmp/ccjtB3uJ.o(.text+0x1121): undefined reference to `_itoa'
/tmp/ccjtB3uJ.o(.text+0x1165): undefined reference to `_itoa'
/tmp/ccjtB3uJ.o(.text+0x11a9): undefined reference to `_itoa'
collect2: ld returned 1 exit status
...全文
61 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
fierygnu 2003-10-17
  • 打赏
  • 举报
回复
没连接线程库。

23,110

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧