Gdb configuration and compilation

Robert S. Grimes rsg at alum.mit.edu
Wed Sep 5 20:01:32 UTC 2007


Sorry, Joel, my earlier reply went only to you; here it is, with a new
question of course, for the rest of the list!

Joel Sherrill wrote:
> You are on cygwin... add --disable-sim (or whatever it is) to the
> configure line.

Yup, cygwin - sigh.  I just can't get to Linux full-time yet!  Anyway, that fixed the problem!


> Even if you wanted it, it wouldn't build correctly or work.

Fine, no problem

>
> You are probably just missing the libintl development package.

Probably...

Anyway, now I'm trying to actually build the agent, and I hit an early
problem; here's the output from make:

rsg at raisin
/cygdrive/c/Home/ll/etill/development/new-rtems/tools/RTEMS_gdb_stub_1.4
$ make
powerpc-rtems-gcc --pipe -B/usr/rtems/4.7.99.2/powerpc-rtems/virtex/lib/
-specs bsp_specs -qrtems   -g -Wall  -O2 -g -fn
o-keep-inline-functions -g     -mcpu=403 -Dppc405 -Dvirtex     -c   -o
o-optimize/rtems-gdb-stub-ppc-shared.o rtems-gdb-
stub-ppc-shared.c
rtems-gdb-stub-ppc-shared.c: In function 'rtems_gdb_tgt_f2r':
rtems-gdb-stub-ppc-shared.c:126: error: 'Thread_Control' has no member
named 'fp_context'
rtems-gdb-stub-ppc-shared.c: In function 'rtems_gdb_tgt_r2f':
rtems-gdb-stub-ppc-shared.c:165: error: 'Thread_Control' has no member
named 'fp_context'
rtems-gdb-stub-ppc-shared.c: In function 'exception_handler':
rtems-gdb-stub-ppc-shared.c:243: warning: implicit declaration of
function '_BSP_clear_hostbridge_errors'
rtems-gdb-stub-ppc-shared.c:250: error: 'ASM_IMISS_VECTOR' undeclared
(first use in this function)
rtems-gdb-stub-ppc-shared.c:250: error: (Each undeclared identifier is
reported only once
rtems-gdb-stub-ppc-shared.c:250: error: for each function it appears in.)
rtems-gdb-stub-ppc-shared.c:251: error: 'ASM_DLMISS_VECTOR' undeclared
(first use in this function)
rtems-gdb-stub-ppc-shared.c:252: error: 'ASM_DSMISS_VECTOR' undeclared
(first use in this function)
make: *** [o-optimize/rtems-gdb-stub-ppc-shared.o] Error 1

Not sure at all about this one...  Any ideas?

Thanks,
-Bob



More information about the users mailing list