Error building gdb on Linux for PowerPC - RESOLVED
Robert S. Grimes
rsg at alum.mit.edu
Thu Jan 12 19:13:03 UTC 2006
Figured it out, I guess. It seems the compiler didn't like how some
copyright notices were being coded in C. Used the old method and all
works - gdm is installed.
Don't know why this is so, and why it only bothers my computer...
Regardless, I'm past this issue, FWIW.
Robert S. Grimes wrote:
> Hi All,
>
> Trying to build gdb for RTEMS 4.6.5 on Gentoo Linux for target
> PowerPC, and I get the following error. Any ideas?
> Note: I couldn't just install the prebuilt binaries, as RPM doesn't
> seem to work on Gentoo. Besides, because Gentoo is a source
> distribution, it's more kosher to build. ;-)
>
> Thanks!
>
> -Bob
>
> gcc -g -O -I. -I../../../gdb-5.2/sim/ppc
> -I../../../gdb-5.2/sim/ppc/../../include -I../../bfd
> -I../../../gdb-5.2/sim/ppc/../../bfd -I../../gdb
> -I../../../gdb-5.2/sim/ppc/../../gdb
> -I../../../gdb-5.2/sim/ppc/../../gdb/config
> -I../../../gdb-5.2/sim/ppc/../../mmalloc -c
> ../../../gdb-5.2/sim/ppc/lf.c
> ../../../gdb-5.2/sim/ppc/lf.c:276:27: missing terminating " character
> ../../../gdb-5.2/sim/ppc/lf.c: In function `lf_print__gnu_copyleft':
> ./../../gdb-5.2/sim/ppc/lf.c:279: error: syntax error before "Copyright"
> ../../../gdb-5.2/sim/ppc/lf.c:279: error: syntax error at '@' token
> ../../../gdb-5.2/sim/ppc/lf.c:281: error: `you' undeclared (first use
> in this function)
> ../../../gdb-5.2/sim/ppc/lf.c:281: error: (Each undeclared identifier
> is reported only once
> ../../../gdb-5.2/sim/ppc/lf.c:281: error: for each function it appears
> in.)
> ../../../gdb-5.2/sim/ppc/lf.c:283: error: `either' undeclared (first
> use in this function)../../../gdb-5.2/sim/ppc/lf.c:287: error:
> `without' undeclared (first use in this function)
> ../../../gdb-5.2/sim/ppc/lf.c:298:1: missing terminating " character
> make[2]: *** [lf.o] Error 1
> make[2]: Leaving directory `/root/till/rtems/tools/b-gdb/sim/ppc'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/till/rtems/tools/b-gdb/sim'
> make: *** [all-sim] Error 2
>
>
More information about the users
mailing list