To: None <gnats-bugs@gnats.netbsd.org>
From: Allen D. Ball <ball@impression-technology.com>
List: netbsd-bugs
Date: 04/08/2001 00:54:47
>Number: 12574
>Category: kern
>Synopsis: linux_machdep.c requires inclusion of <sys/ioctl.h>
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 08 00:55:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Allen D. Ball
>Release: release-1-5 20010407
>Organization:
>Environment:
i386
System: NetBSD proton. 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (INTEL-ISP1100) #0: Sun Apr 8 00:28:56 PDT 2001 ball@proton.:/export/NetBSD-1.5.1_ALPHA-i386/usr/src/sys/arch/i386/compile/INTEL-ISP1100 i386
>Description:
Cannot build a kernel *without* wscons and *with* Linux emulation.
>How-To-Repeat:
Try to build a kernel *without* wscons and *with* Linux emulation.
>Fix:
Apply following patch:
--- /export/NetBSD/release-1-5/usr/src/sys/compat/linux/arch/i386/linux_machdep.c Sun Apr 1 00:36:06 2001
+++ /sys/compat/linux/arch/i386/linux_machdep.c Sun Apr 8 00:27:37 2001
@@ -88,8 +88,8 @@
* To see whether wscons is configured (for virtual console ioctl calls).
*/
#include "wsdisplay.h"
-#if (NWSDISPLAY > 0)
#include <sys/ioctl.h>
+#if (NWSDISPLAY > 0)
#include <dev/wscons/wsconsio.h>
#include <dev/wscons/wsdisplay_usl_io.h>
#include "opt_xserver.h"
>Release-Note:
>Audit-Trail:
>Unformatted: