Subject: port-amiga/918: missing change for KERNEL to _KERNEL
To: None <gnats-admin@NetBSD.ORG>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 03/28/1995 15:20:03
>Number: 918
>Category: port-amiga
>Synopsis: missing change for KERNEL to _KERNEL
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 28 15:20:01 1995
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 03-27-95
>Environment:
System: NetBSD arresum 1.0A NetBSD 1.0A (VEEGO) #103: Mon Mar 20 11:55:32 MET 1995 root@arresum:/src/sys/arch/amiga/compile/VEEGO amiga
>Description:
the change for KERNEL to _KERNEL is also needed in
sys/arch/amiga/amiga/genassym.c
>How-To-Repeat:
a new kernel breaks in the make depend:
In file included from ../../amiga/genassym.c:42:
../../../../sys/proc.h:126: field `p_realtimer' has incomplete type
../../../../sys/proc.h:127: field `p_rtime' has incomplete type
*** Error code 1
>Fix:
change the #define KERNEL to #define _KERNEL
*** sys/arch/amiga/amiga/genassym.c-orig Mon Feb 13 12:08:24 1995
--- sys/arch/amiga/amiga/genassym.c Wed Mar 29 00:06:04 1995
***************
*** 35,41 ****
* @(#)genassym.c 7.8 (Berkeley) 5/7/91
*/
! #define KERNEL
#include <sys/param.h>
#include <sys/buf.h>
--- 35,41 ----
* @(#)genassym.c 7.8 (Berkeley) 5/7/91
*/
! #define _KERNEL
#include <sys/param.h>
#include <sys/buf.h>
>Audit-Trail:
>Unformatted: