Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@specifix.com>
To: Mudeem Siddiqui <mudeem@quartics.com>
Cc: gdb@sourceware.org
Subject: Re: Gdb cross compilation problem - _ABIO32 undeclared
Date: Sat, 03 May 2008 01:34:00 -0000	[thread overview]
Message-ID: <1209778467.4615.426.camel@localhost.localdomain> (raw)
In-Reply-To: <87A697E50899F541B77272C331CEB7440169DBBE@exchange.Q-DOMAIN>

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?





  reply	other threads:[~2008-05-03  1:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-03  1:21 Mudeem Siddiqui
2008-05-03  1:34 ` Michael Snyder [this message]
2008-05-03  1:39   ` Mudeem Siddiqui
2008-05-03  2:45 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1209778467.4615.426.camel@localhost.localdomain \
    --to=msnyder@specifix.com \
    --cc=gdb@sourceware.org \
    --cc=mudeem@quartics.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox