From: Daniel Jacobowitz <drow@mvista.com>
To: Keith Seitz <keiths@cygnus.com>
Cc: Jerry Hidayat <jerry@oncoresystems.com>,
cygwin@cygwin.com, gdb@sources.redhat.com
Subject: Re: GDB for Powerpc building problem
Date: Tue, 04 Sep 2001 12:34:00 -0000 [thread overview]
Message-ID: <20010904153302.A17175@false.org> (raw)
In-Reply-To: <Pine.GSO.4.33.0109041101010.2403-100000@makita.cygnus.com>
On Tue, Sep 04, 2001 at 11:02:54AM -0700, Keith Seitz wrote:
> On Tue, 4 Sep 2001, Jerry Hidayat wrote:
>
> > I need your help guys....
> > Basically, I am trying to build GDB 4.17 for PowerPC target. I have installed
> > the latest cygwin on my Win NT 4.0 box which also provides a compiler
> > (2.95.3-5). Here is the command I put for configuring GDB builder ,
> > ./configure --target=powerpc-linux-gnu --prefix=/usr/local/powerpc/bin
> > it's configured without any error message.
> > but when I do 'make' I see this error,
> > ******************************************************
> > In file included from sim_calls.c:43:
> > ../../gdb/defs.h:51: conflicting types for 'strsignal'
> > /usr/include/string.h:70: previous declaration of 'strsignal'
> > make[2]: *** [sim_calls.o] Error 1
> > make[2]: Leaving directory '/home/paulh/gdb417/gdb-4.17/sim/ppc'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory '/home/paulh/gdb417/gdb-4.17/sim'
> > make: *** [all-sim] Error 2
> > *******************************************************
Try a newer GDB version. I believe this is caused by a change in
headers in Cygwin very recently; you may need a current CVS snapshot in
order to fix it.
> You should have waited for a message from the gdb list... But your problem
> is very simple: you're buiding for "powerpc-linux-gun". You cannot build
> for one OS on another OS. It doesn't (usually) work.
Huh? I build Solaris-x-Linux and Cygwin-x-Linux debuggers fairly
frequently. Cross debuggers take some care not to use target-specific
headers in the target-dependent files for exactly this reason.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2001-09-04 12:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <01090413014602.07728@asia>
2001-09-04 11:02 ` Keith Seitz
2001-09-04 11:35 ` Jerry Hidayat
2001-09-04 12:34 ` Daniel Jacobowitz [this message]
2001-09-04 23:51 ` Momchil Velikov
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=20010904153302.A17175@false.org \
--to=drow@mvista.com \
--cc=cygwin@cygwin.com \
--cc=gdb@sources.redhat.com \
--cc=jerry@oncoresystems.com \
--cc=keiths@cygnus.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