logo       

Re: Trouble building gdbserver from Insight for ARM: msg#00112

linux.ports.arm.general

Subject: Re: Trouble building gdbserver from Insight for ARM

Dear Mr. Jonathan,

# I've sent ncurses-4.2 binary built on my SA-110 machine.

>Is there anyone who can give me a hand building gdbserver
>from Insight for the arm.

I'm not sure gdbserver is kept to be compilable/usable.

In recent gdb, KERNEL_U_ADDR looks to be defined in nmXXX.h,
which is used only "native" (host == target) cases (check
configure.in gdbserver). Thus, I'm afraid that gdbserver
is not maintained to be cross-compilable.

And, on my SA-110 machine, of course host == target, it
is failed as
-------------------------------------------------------------------
cc -o gdbserver utils.o low-linux.o server.o remote-utils.o \

low-linux.o: In function `register_addr':
/home/sssa/redhat/BUILD/gdb-5.1.1/gdb/gdbserver/low-linux.c:554: undefined
reference to `REGISTER_U_ADDR'
low-linux.o: In function `initialize_low':
/home/sssa/redhat/BUILD/gdb-5.1.1/gdb/gdbserver/low-linux.c:746: undefined
reference to `initialize_arch'
collect2: ld returned 1 exit status
make: *** [gdbserver] Error 1
-------------------------------------------------------------------

Although I've not checked it yet, could you try the patch ?

http://sources.redhat.com/ml/bug-gdb/2000-08/msg00007.html

Or, files which Mr. Andonieh had ever posted to this mailing list.

http://lists.arm.linux.org.uk/pipermail/linux-arm/2001-June/001391.html


Regards,

mpsuzuki


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise