Subject: make release on netbsd-1-5 branch fails
To: None <port-i386@netbsd.org>
From: Bang Jun-Young <bjy@mogua.org>
List: port-i386
Date: 07/30/2001 21:48:37
Hi,
I have found a problem with make release on netbsd-1-5 branch:
dependall ===> sys/lkm/vfs/miscfs/procfs
[snip]
cc -O2 -D_KERNEL -D_LKM -I. -I/usr/src/sys/lkm/vfs/miscfs/procfs -I/usr/src/sys -I/usr/src/sys/arch -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -nostdinc -idirafter /root/build/usr/include -c /usr/src/sys/miscfs/procfs/procfs_vnops.c
In file included from machine/reg.h:44,
from /usr/src/sys/miscfs/procfs/procfs_vnops.c:63:
machine/frame.h:86: redefinition of `struct trapframe'
machine/frame.h:117: redefinition of `struct intrframe'
machine/frame.h:144: redefinition of `struct switchframe'
machine/frame.h:155: redefinition of `struct sigframe'
*** Error code 1
This problem was introduced with the commit made today. Here is a
patch pulled from -current:
--- frame.h.orig Mon Jun 18 07:27:14 2001
+++ frame.h Mon Jul 30 21:43:28 2001
@@ -74,6 +74,9 @@
* @(#)frame.h 5.2 (Berkeley) 1/18/91
*/
+#ifndef _I386_FRAME_H_
+#define _I386_FRAME_H_
+
#include <sys/signal.h>
/*
@@ -159,3 +162,5 @@
sig_t sf_handler;
struct sigcontext sf_sc;
};
+
+#endif /* _I386_FRAME_H_ */
Jun-Young
--
Bang Jun-Young <bjy@mogua.org>