Problem while compiling gdb for 4.9.1

John Pickwick john.pickwick at
Thu Dec 18 22:07:12 UTC 2008


I encountered a problem while trying to compile gdb6.8 for rtems-4.9.1 on my 
cygwin platform 1.5.25(0.156/4/2) for the sparc target.
Of course I previously applied the patch gdb-6.8-rtems4.9-20080917.diff.

The error is:
           -DSTAT -DFAST_UART -DIUREV0 -DMECREV0   -I. -I../../../gdb-6.8/sim/e
rc32 -I../common -I../../../gdb-6.8/sim/erc32/../common -I../../include -I../../../gdb-6.8/sim/erc32/../../include 
 -I../../bfd -I../../../gdb-6.8/sim/erc32/../.
./bfd -I../../opcodes -I../../../gdb-6.8/sim/erc32/../../opcodes  -g -O2 -o 
sis.exe \
          sis.o exec.o erc32.o func.o help.o float.o  ../../bfd/libbfd.a 
../../opcodes/libopcodes.a -lintl ../../libiberty/libiberty.a 
/libreadline.a  -lm
gcc: /libreadline.a: No such file or directory
make[3]: *** [sis.exe] Error 1
make[3]: Leaving directory `/cygdrive/g/tools/b-gdb/sim/erc32'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/cygdrive/g/tools/b-gdb/sim'
make[1]: *** [all-sim] Error 2
make[1]: Leaving directory `/cygdrive/g/tools/b-gdb'

I tried with or without the --enable-sim option but it is the same error.

I tried to modify directly the Makefile located in sim/erc32 which seems to 
be the cause of the error (missing declaration of READLINE_DIR makefile 
variable which is declared in another directory, gdb) but it does not work.

Any idea around ?

More information about the users mailing list