delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/04/14:03:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: makita.cygnus.com: keiths owned process doing -bs
Date: Tue, 4 Sep 2001 11:02:54 -0700 (PDT)
From: Keith Seitz <keiths AT cygnus DOT com>
To: Jerry Hidayat <jerry AT oncoresystems DOT com>
cc: <cygwin AT cygwin DOT com>, <gdb AT sources DOT redhat DOT com>
Subject: Re: GDB for Powerpc building problem
In-Reply-To: <01090413014602.07728@asia>
Message-ID: <Pine.GSO.4.33.0109041101010.2403-100000@makita.cygnus.com>
MIME-Version: 1.0

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
> *******************************************************

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.

Are you targeting powerpc-linux??? If so, build it on your powerpc-linux
box. If you are building for generic powerpc-eabi or something, then use
"powerpc-eabi" as a target.

Keith



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019