Subject: port-i386/14777: release-1-4 fails tom compile whith USER_LDT
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/29/2001 21:59:55
>Number:         14777
>Category:       port-i386
>Synopsis:       release-1-4 fails tom compile whith USER_LDT
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 29 13:00:00 PST 2001
>Originator:     Manuel Bouyer
>Release:        1.4.3A
System: NetBSD 1.4.3A NetBSD 1.4.3A (DESS06) #0: Tue Nov 27 22:44:36 MET 2001 i386

	Compiling a kernel with
	options USER_LDT
	in the config file dies with:
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../arch/i386/i386/sys_machdep.c
../../../../arch/i386/i386/sys_machdep.c: In function `i386_set_ldt':
../../../../arch/i386/i386/sys_machdep.c:397: `pmap' undeclared (first use in this function)
../../../../arch/i386/i386/sys_machdep.c:397: (Each undeclared identifier is reported only once
../../../../arch/i386/i386/sys_machdep.c:397: for each function it appears in.)
*** Error code 1
	cvs checkout release-1-4, uncomment 'options USER_LDT' in kernel
	config file and start compile.
	Don't know.