This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Gdb cross compilation problem - _ABIO32 undeclared


Yes, I have the kernel port for mips. I looked for ABIO32 in the linux
header files but couldn't find it. The closest thing that I could find
was _MIPS_SIM_ABI32 in sgidefs.h

-----Original Message-----
From: Michael Snyder [mailto:msnyder@specifix.com] 
Sent: Friday, May 02, 2008 6:34 PM
To: Mudeem Siddiqui
Cc: gdb@sourceware.org
Subject: Re: Gdb cross compilation problem - _ABIO32 undeclared

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?





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]