NetBSD Problem Report #30595

From paul@cobalt.plectere.com  Sat Jun 25 01:17:11 2005
Return-Path: <paul@cobalt.plectere.com>
Received: from Plectere.com (smtp.mpa0.Plectere.COM [64.32.188.109])
	by narn.netbsd.org (Postfix) with ESMTP id 1E23863B116
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 25 Jun 2005 01:17:11 +0000 (UTC)
Message-Id: <200506250116.j5P1GjOZ000798@cobalt.plectere.com>
Date: Fri, 24 Jun 2005 18:16:45 -0700 (PDT)
From: paul@Plectere.com
Reply-To: paul@Plectere.com
To: gnats-bugs@netbsd.org
Subject: .../compat/linux/arch/i386/linux_machdep.c needs <sys/wait.h>
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 25 01:18:00 +0000 2005
>Closed-Date:    Fri Oct 14 23:21:03 +0000 2005
>Last-Modified:  Fri Oct 14 23:21:03 +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>

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: xtraeme@netbsd.org
State-Changed-When: Fri, 14 Oct 2005 23:21:03 +0000
State-Changed-Why:
Fixed time ago... thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.