UML compilation fails on JB_*

From: Jan Engelhardt
Date: Thu Jun 22 2006 - 12:25:18 EST


Hi,



Linux 2.6.17, in void get_thread_regs(union uml_pt_regs *uml_regs, void
*buffer):

CC arch/um/os-Linux/sys-i386/registers.o
arch/um/os-Linux/sys-i386/registers.c: In function âget_thread_regsâ:
arch/um/os-Linux/sys-i386/registers.c:137: error: âJB_PCâ undeclared (first
use
in this function)
arch/um/os-Linux/sys-i386/registers.c:137: error: (Each undeclared
identifier is reported only once
arch/um/os-Linux/sys-i386/registers.c:137: error: for each function it
appears in.)
arch/um/os-Linux/sys-i386/registers.c:138: error: âJB_SPâ undeclared (first
use
in this function)
arch/um/os-Linux/sys-i386/registers.c:139: error: âJB_BPâ undeclared (first
use
in this function)


I have seen this before (while trying to cross-compile a sparc64-glibc from
i586); the reason is that I do not have any header files containing
definitions for JB_PC. What additional packages do I need?


Jan Engelhardt
--