From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16269 invoked by alias); 6 Sep 2005 19:45:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16244 invoked by uid 22791); 6 Sep 2005 19:45:27 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 06 Sep 2005 19:45:27 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1ECjNl-0002tA-AN; Tue, 06 Sep 2005 15:45:25 -0400 Date: Tue, 06 Sep 2005 19:45:00 -0000 From: Daniel Jacobowitz To: Laxman Bana Cc: gdb@sources.redhat.com, crossgcc@sources.redhat.com Subject: Re: Failed to build GDB-5.0 Message-ID: <20050906194524.GA10842@nevyn.them.org> Mail-Followup-To: Laxman Bana , gdb@sources.redhat.com, crossgcc@sources.redhat.com References: <3A3545D6.6137C189@OARcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00042.txt.bz2 On Tue, Sep 06, 2005 at 03:38:17PM -0400, Laxman Bana wrote: > Hi Everyone, > I am having a problem in building gdb for the target powerpc. If you have > had seen this problem earlier please > let me know how you get it fixed. Please see my environment settings: > > Target: MPC8560 ADS > Gnu Tools Distributor: MetroWerks (MPC8560ADS_20041105-3.0-bsp.tgz) Smack your distributor until they give you a version of GDB that isn't many years old? > > $uname -a > Linux localhost.localdomain 2.4.20-6 #1 Thu Feb 27 10:06:59 EST 2003 i686 > i686 i386 GNU/Linux > > $export CC=powerpc-linux-gnuspe-gcc > $export CXX=powerpc-linux-gnuspe-g++ > $export BUILD_CC=gcc > $export CC_FOR_BUILD=gcc > $export > PREFIX=/opt/Embedix/usr/local/powerpc-linux-gnuspe/gcc-3.3.e500-glibc-2.3.2- > linuxspe > $export TARGET=powerpc-linux-gnuspe > $mkdir build_gdb > $cd build_gdb > $/opt/metrowerks/MPC8560ADS_20041105-3.0/Packages/gdb-5.0-devel/configure -- > prefix=$PREFIX --target=$TARGET --host=i686 > > <...for outout please see the attached file tmp.configuration ....> > > GDB configuration fails at > > checking for tgetent in -lncurses... (cached) no > checking for tgetent in -lHcurses... no > checking for tgetent in -ltermlib... no > checking for tgetent in -ltermcap... (cached) no > checking for tgetent in -lcurses... (cached) no > checking for tgetent in -lterminfo... no Your cross compilers did not find libncurses on the target. Either the compilers are set up wrong, or you don't have the necessary development files on your target filesystem to build GDB. -- Daniel Jacobowitz CodeSourcery, LLC