LinuxSir.cn,穿越时空的Linuxsir!

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

安装gdbserver时的问题,大家帮忙解决一下!!!

[复制链接]
发表于 2006-3-8 11:08:44 | 显示全部楼层 |阅读模式
我在安装gdb-6.3时,安装gdb没有问题,然后安装gdbserver时,
设置完环境变量,./configure arm-linux也没有问题,
但是执行make时就通不过了,大家看看是哪里出的问题!
我的主机端是redhat 9.0,交叉编译器是arm-linux 2.95。

[root@localhost gdbserver]# make
rm -f gdbserver
gcc    -rdynamic -o gdbserver inferiors.o regcache.o remote-utils.o server.o
signals.o target.o utils.o mem-break.o reg-arm.o linux-low.o linux-arm-low.o
thread-db.o proc-service.o \
  -lthread_db
/usr/bin/ld: inferiors.o: Relocations in generic ELF (EM: 40)
inferiors.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [gdbserver] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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