关于静态编译gdbserver出现lthread_db找不到的问题

Rhymer 2010-07-06 05:06:12
本人用arm-linux-gcc来编译gdb-6.0的gdbserver,CC=arm-linux-gcc ./configure --host=arm-linux.

而后在生成的makefile里面设置LDFLAGS =-static来静态连接库文件,之后make,可是每次总会出错,

报告can not find lthread_db,

因而就不能生成gdbserver可执行文件.请问该怎么解决?谢谢!
...全文
257 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
太乙 2010-07-06
  • 打赏
  • 举报
回复
You just haven't compiled debugable threads in uClibc

http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=686
太乙 2010-07-06
  • 打赏
  • 举报
回复
the thread for debugging option in uClibc should also be selected before build
the gdbserver.
fssf0078 2010-07-06
  • 打赏
  • 举报
回复
是不是库路径的问题 纯属猜测~~

69,382

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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