To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <paul@Plectere.com>
List: netbsd-bugs
Date: 06/25/2005 01:18:00
>Number: 30595
>Category: port-i386
>Synopsis: recent changes require another header file be added
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 25 01:18:00 +0000 2005
>Originator: Paul Shupak
>Release: NetBSD -current (as of today)
>Organization:
>Environment:
System: NetBSD cobalt 3.99.5 NetBSD 3.99.5 (COBALT-$Revision: 1.4 $) #7: Mon Jun 6 00:13:30 PDT 2005 root@svcs:/sys/arch/i386/compile/COBALT i386
Architecture: i386
Machine: i386
>Description:
The recent change to .../compat/linux/arch/i386/linux_machdep.c
make use of the values WCOREDUMP and _WSTATUS which are defined
in the header <sys/wait.h>, but which is not included. This causes
i386 kernels with static linux compatibilty to fail to build
>How-To-Repeat:
Try to build with v1.109 of .../compat/linux/arch/i386/linux_machdep.c,
watch it fail.
>Fix:
*** ../../../../compat/linux/arch/i386/linux_machdep.c-ORIG Fri Jun 24 18:02:44 2005
--- ../../../../compat/linux/arch/i386/linux_machdep.c Fri Jun 24 18:05:45 2005
***************
*** 68,73 ****
--- 68,74 ----
#include <sys/exec_elf.h>
#include <sys/disklabel.h>
#include <sys/ioctl.h>
+ #include <sys/wait.h>
#include <miscfs/specfs/specdev.h>
#include <compat/linux/common/linux_types.h>
>Unformatted: