This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failed to build GDB-5.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]