NetBSD Problem Report #937
From gnats Sun Apr 2 19:06:03 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id TAA07539 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 2 Apr 1995 19:06:02 -0700
Message-Id: <199504030255.TAA00613@pgoyette>
Date: Sun, 2 Apr 1995 19:55:34 -0700
From: Paul.Goyette@pgoyette
Reply-To: paul@pgoyette.bdt.com
To: gnats-bugs@NetBSD.ORG
Subject: kern Missing _ on symbol _KERNEL in header files
X-Send-Pr-Version: 3.2
>Number: 937
>Category: kern
>Synopsis: Various header files missing _ on symbol _KERNEL
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 02 19:20:04 +0000 1995
>Closed-Date: Thu Apr 27 11:27:16 +0000 1995
>Last-Modified:
>Originator: Paul Goyette
>Release: 1.0A
>Organization:
>Environment:
<machine: Mac IIci,
os: NetBSD/Mac 1.0A (current as of 4/1/95),
target: N/A,
libraries: N/A >
>Description:
Various compilation errors resulting from incorrect header files while attempting
to rebuild kernel.
>How-To-Repeat:
Simply make a kernel
>Fix:
Change symbol KERNEL to _KERNEL in following files:
sys/ktrace.h line 150
sys/sysctl.h 291
sys/uio.h 76
sys/mbuf.h 356
sys/socket.h 315
miscfs/fdesc/fdesc.h 43
miscfs/kernfs/kernfs.h 43
miscfs/nullfs/null.h 51
miscfs/procfs/procfs.h 78
miscfs/union/union.h 60
netinet/in_var.h 79
netinet/if_ether.h 149
netns/ns_if.h 80
vm/vm_object.h 118
(list may not be complete)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Thu Apr 27 11:27:16 1995
State-Changed-Why:
Fixed.
>Unformatted:
>System: NetBSD pgoyette 1.0 NetBSD 1.0 (PRG) #3: Mon Feb 20 13:50:35 PST 1995 paul@pgoyette:/usr/local/netbsd10/src/sys/arch/mac68k/compile/PRG mac68k
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.