bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB 7.2 build fails in m68klinux-nat.c - undeclared symbols


From: Horvath, Lars Michael
Subject: GDB 7.2 build fails in m68klinux-nat.c - undeclared symbols
Date: Fri, 14 Jan 2011 13:23:11 +0100

Hello all,

 

I am trying to build gdb 7.2, but it fails. See errors below.

 

My target is m68k (MCF5441x) and compiler is gcc-4.4.54-eglibc-2.10.54. Kernel target version 2.6.29.

gdb 6.8 also fails, but gdb 6.6 succeeded.

 

Obviously the PT_D0… are not defined, but I can’t figure out where they should be.

 

Thanks for any help.

 

m68klinux-nat.c:59: error: 'PT_D0' undeclared here (not in a function)

m68klinux-nat.c:59: error: 'PT_D1' undeclared here (not in a function)

m68klinux-nat.c:59: error: 'PT_D2' undeclared here (not in a function)

m68klinux-nat.c:59: error: 'PT_D3' undeclared here (not in a function)

m68klinux-nat.c:59: error: 'PT_D4' undeclared here (not in a function)

m68klinux-nat.c:59: error: 'PT_D5' undeclared here (not in a function)

m68klinux-nat.c:59: error: 'PT_D6' undeclared here (not in a function)

m68klinux-nat.c:59: error: 'PT_D7' undeclared here (not in a function)

m68klinux-nat.c:60: error: 'PT_A0' undeclared here (not in a function)

m68klinux-nat.c:60: error: 'PT_A1' undeclared here (not in a function)

m68klinux-nat.c:60: error: 'PT_A2' undeclared here (not in a function)

m68klinux-nat.c:60: error: 'PT_A3' undeclared here (not in a function)

m68klinux-nat.c:60: error: 'PT_A4' undeclared here (not in a function)

m68klinux-nat.c:60: error: 'PT_A5' undeclared here (not in a function)

m68klinux-nat.c:60: error: 'PT_A6' undeclared here (not in a function)

m68klinux-nat.c:60: error: 'PT_USP' undeclared here (not in a function)

m68klinux-nat.c:61: error: 'PT_SR' undeclared here (not in a function)

m68klinux-nat.c:61: error: 'PT_PC' undeclared here (not in a function)

m68klinux-nat.c: In function 'supply_gregset':

m68klinux-nat.c:222: error: array subscript is not an integer

m68klinux-nat.c:224: error: array subscript is not an integer

make[2]: *** [m68klinux-nat.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[2]: Leaving directory `/home/lmh/ltib-modelo-20100709/rpm/BUILD/gdb-7.2/gdb'

make[1]: *** [all-gdb] Error 2

make[1]: Leaving directory `/home/lmh/ltib-modelo-20100709/rpm/BUILD/gdb-7.2'

make: *** [all] Error 2

error: Bad exit status from /home/lmh/ltib-modelo-20100709/tmp/rpm-tmp.21660 (%build)

 

 

RPM build errors:

    Bad exit status from /home/lmh/ltib-modelo-20100709/tmp/rpm-tmp.21660 (%build)

Build time for gdb: 874 seconds

 

Failed building gdb

 

 

f_scbuild() returned an error, exiting

traceback:

 main:560

 

Exiting on error or interrupt

Please be advised that this email may contain confidential
information. If you are not the intended recipient, please notify us
by email by replying to the sender and delete this message. The
sender disclaims that the content of this email constitutes an offer
to enter into, or the acceptance of, any agreement; provided that the
foregoing does not invalidate the binding effect of any digital or
other electronic reproduction of a manual signature that is included
in any attachment.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]