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

This is what I get, without trying to cross compile it on an i386 box.


root@gateway:/usr/src/insight/insight-5.1.1/gdb/gdbserver>../../configure
Configuring for a i686-pc-linux-gnu host.
*** ./configure.in has no "per-host:" line.
*** Hmm, looks like this directory has been autoconfiscated.
*** Running the local configure script.
loading cache config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile
linking ./../config/i386/xm-linux.h to xm.h
linking ./../config/i386/tm-linux.h to tm.h
linking ./../config/i386/nm-linux.h to nm.h
root@gateway:/usr/src/insight/insight-5.1.1/gdb/gdbserver>make
cc -c -g -I. -I.. -I. -I./.. -I./../config -I./../../include
-I../../bfd -I./../../bfd -DGDBSERVER low-linux.c
low-linux.c: In function `mywait':
low-linux.c:109: warning: passing arg 2 of `waitpid' from incompatible
pointer type
low-linux.c: In function `fetch_register':
low-linux.c:570: `KERNEL_U_ADDR' undeclared (first use in this function)
low-linux.c:570: (Each undeclared identifier is reported only once
low-linux.c:570: for each function it appears in.)
low-linux.c: In function `store_inferior_registers':
low-linux.c:614: `KERNEL_U_ADDR' undeclared (first use in this function)
low-linux.c: At top level:
low-linux.c:52: warning: `initialize_arch' used but never defined
make: *** [low-linux.o] Error 1
root@gateway:/usr/src/insight/insight-5.1.1/gdb/gdbserver>

When I cross compile it for the arm
(../../configure --target=arm-unknown-linux) the make breaks looking to
include sys/reg.h in low-linux.c.  If I comment that #include line out in
low-linux.c, I get exactly the same error as when not cross compiling.

Any help much appreciated.

Jonathan


_______________________________________________
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.

Reply via email to