NetBSD Problem Report #834
From gnats Wed Mar 1 21:26:43 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 VAA04586 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 1 Mar 1995 21:26:37 -0800
Message-Id: <199503011654.KAA14985@balsa.plexus.com>
Date: Wed, 1 Mar 1995 10:54:28 -0600
From: Scott Reynolds <scottr@balsa.plexus.com>
Reply-To: scottr@balsa.plexus.com
To: gnats-bugs@NetBSD.ORG
Subject: kdump(1) build depends on an absolute path
X-Send-Pr-Version: 3.2
>Number: 834
>Category: bin
>Synopsis: usr.bin/kdump/kdump.c depends on /sys/kern/syscalls.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 01 21:35:03 +0000 1995
>Closed-Date: Tue May 21 09:55:29 +0000 1996
>Last-Modified: Tue May 21 09:56:35 +0000 1996
>Originator:
>Release: 1.0A (26 Feb 95) and previous
>Organization:
Scott Reynolds
Technology Group, Inc.
>Environment:
System: NetBSD balsa 1.0A NetBSD 1.0A (TGI) #5: Mon Feb 27 12:23:01 CST 1995 root@:/b/sys/arch/hp300/compile/TGI hp300
>Description:
Doing a "make" or "make depend" in usr.bin/kdump results in a
missing include file if /sys doesn't point to the kernel sources.
>How-To-Repeat:
See above.
>Fix:
There would be fewer problems if this was changed to a relative
path WRT the source tree.
*** kdump.c-dist Sun Jan 15 06:29:08 1995
--- kdump.c Wed Mar 1 10:48:40 1995
***************
*** 219,225 ****
#include <sys/syscall.h>
#define KTRACE
! #include "/sys/kern/syscalls.c"
#undef KTRACE
int nsyscalls = sizeof (syscallnames) / sizeof (syscallnames[0]);
--- 219,225 ----
#include <sys/syscall.h>
#define KTRACE
! #include "../../sys/kern/syscalls.c"
#undef KTRACE
int nsyscalls = sizeof (syscallnames) / sizeof (syscallnames[0]);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mrg
State-Changed-When: Tue May 21 05:55:29 EDT 1996
State-Changed-Why:
this changed some time ago.
>Unformatted:
(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.