Gdb cross compilation problem - _ABIO32 undeclared

Michael Snyder msnyder@specifix.com
Sat May 3 01:34:00 GMT 2008


On Fri, 2008-05-02 at 18:20 -0700, Mudeem Siddiqui wrote:
> Hi,
>  
> I am trying to cross compile gdb for mips. I am getting the following
> error
>  
> make[3]: Leaving directory
> `/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv1403/sdk/app/g
> db-6.8/sim/igen'
> make[2]: Leaving directory
> `/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv1403/sdk/app/g
> db-6.8/sim'
> make[2]: Entering directory
> `/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv1403/sdk/app/g
> db-6.8/gdb'
> mipsel-linux-uclibc-gcc -c
> -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include   -I. -I.././gdb
> -I.././gdb/config
> -DLOCALEDIR="\"/home/mudeem/usr/gdb/native/share/locale\""
> -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/..
> -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber
> -I.././gdb/../libdecnumber -I./../intl  -DMI_OUT=1
> -I/home/mudeem/QV140X/LINUX/KERNEL/linux-2.4.25/include
> -I/home/mudeem/usr/cross/termcap/include -Wall -Wpointer-arith
> -Wformat-nonliteral -Wno-unused -Wno-switch -Wno-char-subscripts -Werror
> mips-linux-nat.c
> mips-linux-nat.c: In function `mips_linux_read_description':
> mips-linux-nat.c:350: `_ABIO32' undeclared (first use in this function)
> mips-linux-nat.c:350: (Each undeclared identifier is reported only once
> mips-linux-nat.c:350: for each function it appears in.)
> make[2]: *** [mips-linux-nat.o] Error 1
> make[2]: Leaving directory
> `/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv1403/sdk/app/g
> db-6.8/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory
> `/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv1403/sdk/app/g
> db-6.8'
> make: *** [all] Error 2
> 
> I have tried looking fro _ABIO32 but can't find the declaration
> anywhere. Any ideas?

Perhaps it's in Mips-linux native header files?
How are you cross-compiling?  Do you have a set of mips-linux
headers and libraries on your build host?






More information about the Gdb mailing list