List Info

Thread: Gdb cross compilation problem - _ABIO32 undeclared




Gdb cross compilation problem - _ABIO32 undeclared
country flaguser name
United States
2008-05-02 20:20:45
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/qv14
03/sdk/app/g
db-6.8/sim/igen'
make[2]: Leaving directory
`/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv14
03/sdk/app/g
db-6.8/sim'
make[2]: Entering directory
`/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv14
03/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/l
ocale""
-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/qv14
03/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/qv14
03/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

Re: Gdb cross compilation problem - _ABIO32 undeclared
country flaguser name
United States
2008-05-02 20:34:27
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/qv14
03/sdk/app/g
> db-6.8/sim/igen'
> make[2]: Leaving directory
>
`/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv14
03/sdk/app/g
> db-6.8/sim'
> make[2]: Entering directory
>
`/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv14
03/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/l
ocale""
> -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/qv14
03/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/qv14
03/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?





RE: Gdb cross compilation problem - _ABIO32 undeclared
country flaguser name
United States
2008-05-02 20:39:07
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:msnyderspecifix.com] 
Sent: Friday, May 02, 2008 6:34 PM
To: Mudeem Siddiqui
Cc: gdbsourceware.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/qv14
03/sdk/app
> /g
> db-6.8/sim/igen'
> make[2]: Leaving directory
>
`/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv14
03/sdk/app
> /g
> db-6.8/sim'
> make[2]: Entering directory
>
`/home/mudeem/development/QV15XX_SDK/Linux/QV140X_BUILD/qv14
03/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/l
ocale""
> -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/qv14
03/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/qv14
03/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?





Re: Gdb cross compilation problem - _ABIO32 undeclared
country flaguser name
United States
2008-05-02 21:44:50
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

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )