Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Gdb cross compilation problem - _ABIO32 undeclared
@ 2008-05-03  1:21 Mudeem Siddiqui
  2008-05-03  1:34 ` Michael Snyder
  2008-05-03  2:45 ` Daniel Jacobowitz
  0 siblings, 2 replies; 4+ messages in thread
From: Mudeem Siddiqui @ 2008-05-03  1:21 UTC (permalink / raw)
  To: gdb

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?
 
Thanks
Mudeem


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gdb cross compilation problem - _ABIO32 undeclared
  2008-05-03  1:21 Gdb cross compilation problem - _ABIO32 undeclared Mudeem Siddiqui
@ 2008-05-03  1:34 ` Michael Snyder
  2008-05-03  1:39   ` Mudeem Siddiqui
  2008-05-03  2:45 ` Daniel Jacobowitz
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Snyder @ 2008-05-03  1:34 UTC (permalink / raw)
  To: Mudeem Siddiqui; +Cc: gdb

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?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Gdb cross compilation problem - _ABIO32 undeclared
  2008-05-03  1:34 ` Michael Snyder
@ 2008-05-03  1:39   ` Mudeem Siddiqui
  0 siblings, 0 replies; 4+ messages in thread
From: Mudeem Siddiqui @ 2008-05-03  1:39 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb

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?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gdb cross compilation problem - _ABIO32 undeclared
  2008-05-03  1:21 Gdb cross compilation problem - _ABIO32 undeclared Mudeem Siddiqui
  2008-05-03  1:34 ` Michael Snyder
@ 2008-05-03  2:45 ` Daniel Jacobowitz
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2008-05-03  2:45 UTC (permalink / raw)
  To: Mudeem Siddiqui; +Cc: gdb

On Fri, May 02, 2008 at 06:20:45PM -0700, Mudeem Siddiqui wrote:
> I have tried looking fro _ABIO32 but can't find the declaration
> anywhere. Any ideas?

It is normally predefined by GCC.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-03  2:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-03  1:21 Gdb cross compilation problem - _ABIO32 undeclared Mudeem Siddiqui
2008-05-03  1:34 ` Michael Snyder
2008-05-03  1:39   ` Mudeem Siddiqui
2008-05-03  2:45 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox