Re: Can't build GDB on ppc system

Mark Kettenis
2005-11-07T22:28:38Z

> From: Paul Gilliam <pgilliam@us.ibm.com>
> Date: Mon, 7 Nov 2005 14:08:15 -0800
>
> Here is the tailend of what I get:
>
> gcc -m64 -c -g -O2 -mminimal-toc -I. -I../../src/gdb -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include -I../intl -I../../src/gdb/../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral -Wunused-label -Wunused-function -Wuninitialized ../../src/gdb/doublest.c
> ../../src/gdb/doublest.c: In function `floatformat_normalize_byteorder':
> ../../src/gdb/doublest.c:135: error: `floatformat_vax' undeclared (first use in this function)
> ../../src/gdb/doublest.c:135: error: (Each undeclared identifier is reported only once
> ../../src/gdb/doublest.c:135: error: for each function it appears in.)
> make: *** [doublest.o] Error 1
>

Looks like you forgot to cvs update src/include and perhaps src/libiberty.

Mark