[ECOS] GDB error

neuwald@inf.ufsc.br neuwald@inf.ufsc.br
Tue Jun 28 13:08:00 GMT 2005


Hello,

I want install gdb-6.3 for mips-tx39-elf target, but when I used the comand
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'

Can anybody help me to solve this error??

Evandro



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list