RE: gdb-6.8.50.20080507 not building.

Roberts, Dennis
2008-05-07T16:41:38Z

I got the same error the last time I tried to build gdb. I obtained depcomp by installing GNU automake and copying depcomp to the gdb source directory.

Dennis

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of Anmol P. Paralkar
Sent: Wednesday, May 07, 2008 9:32 AM
To: gdb@sourceware.org
Subject: gdb-6.8.50.20080507 not building.

Hello,

I am trying to build gdb-6.8.50.20080507, configured as follows:

CC=gcc \
../../../src/gdb-6.8.50.20080507-original/configure \
--target=powerpc-unknown-linux-gnu \
--program-prefix=powerpc-unknown-linux-gnu- \
--program-suffix=-6.8.50.20080507-original \
--prefix=/proj/ppc/sysperf/labhome/b07584/gnu/tools > configure-invocation.log 2>&1

However, the build fails:

-------------------------------------------------------------------------------------------------------------------------------------
mv string.h-t string.h
make all-am
make[5]: Entering directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
source='../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib/dummy.c' object='dummy.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../../../../../src/gdb-6.8.50.20080507-original/gdb/../depcomp \
gcc -DHAVE_CONFIG_H -I. -I../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib -I.. -c ../../../../../src/gdb-6.8.50.20080507-original/gdb/gnulib/dummy.c
/bin/sh: ../../../../../src/gdb-6.8.50.20080507-original/gdb/../depcomp: No such file or directory
make[5]: *** [dummy.o] Error 127
make[5]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb/gnulib'
make[3]: *** [subdir_do] Error 1
make[3]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb'
make[2]: *** [all-lib] Error 2
make[2]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/proj/.ppc_07/labhome/b07584/gnu/build/gdb-6.8.50.20080507-original/powerpc-unknown-linux-gnu'
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------------------------

Is there something I am missing here?

Any help greatly appreciated.

Thanks,
Anmol.

PS: I have the same problem with gdb-6.8.50.20080506 - yesterday's snapshot.