This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
GDB error
Hello,
I want install gdb-6.3 for mips-tx39-elf target, but when I do a make:
make -w all install CC='gcc -mwin32' 2>&1 | tee make.out
I got the followin error:
gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I.
-I/src/gdb/gdb-6.3/libiberty/../inclu
de -W -Wall -Wtraditional -pedantic
/src/gdb/gdb-6.3/libiberty/lrealpath.c -o l
realpath.o
/src/gdb/gdb-6.3/libiberty/lrealpath.c: In function `lrealpath':
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: `MAX_PATH'
undeclared (first
use in this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: (Each undeclared
identifier i
s reported only once
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: for each function it
appears
in.)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: `DWORD' undeclared
(first use
in this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: parse error before "len"
/src/gdb/gdb-6.3/libiberty/lrealpath.c:143: error: `len' undeclared
(first use i
n this function)
/src/gdb/gdb-6.3/libiberty/lrealpath.c:150: warning: implicit
declaration of fun
ction `CharLowerBuff'
/src/gdb/gdb-6.3/libiberty/lrealpath.c:140: warning: unused variable `buf'
/src/gdb/gdb-6.3/libiberty/lrealpath.c:141: warning: unused variable
`basename'
make[1]: *** [lrealpath.o] Error 1
make[1]: Leaving directory `/tmp/build/gdb/libiberty'
make: *** [all-libiberty] Error 2
make: Leaving directory `/tmp/build/gdb'
How can i fix this?
regards,
Evandro