|
我在安装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 |
|