Can't build GDB on ppc system

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't build GDB on ppc system

Paul Gilliam
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
Reply | Threaded
Open this post in threaded view
|

Re: Can't build GDB on ppc system

Mark Kettenis
> From: Paul Gilliam <[hidden email]>
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Can't build GDB on ppc system

Paul Gilliam
In reply to this post by Paul Gilliam
I started from scratch (cvs co .....) and did not git this problem.

Could there have been a file that 'cvs update' didn't pick up?

-=# Paul #=-