Subject: kern/440: Problem compiling kernel with non-TCP support
To: None <gnats-admin>
From: None <sjr@zombie.ncsc.mil>
List: netbsd-bugs
Date: 08/28/1994 18:50:18
>Number: 440
>Category: kern
>Synopsis: missing machine.h include in several network files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 28 18:50:14 1994
>Originator: Stephen J. Roznowski
>Organization:
" Beyond the Great Beyond"
>Release: 1
>Environment:
System: NetBSD istari 1.0_BETA NetBSD 1.0_BETA (A3000) #2: Sat Aug 27 15:05:41 EDT 1994 sjr@istari:/usr/local/src/NetBSD-current/sys/arch/amiga/compile/A3000 amiga
>Description:
Attempting to compile a GENERIC kernel on the Amiga with all of
the network options on, fails due to some missing definition of
setsoftnet.
>How-To-Repeat:
>Fix:
*** netccitt/if_x25subr.c.orig Sun Aug 28 16:13:26 1994
--- netccitt/if_x25subr.c Sun Aug 28 16:13:03 1994
***************
*** 46,51 ****
--- 46,53 ----
#include <sys/errno.h>
#include <sys/syslog.h>
+ #include <machine/cpu.h>
+
#include <net/if.h>
#include <net/if_types.h>
#include <net/netisr.h>
*** netiso/if_eon.c.orig Sun Aug 28 16:13:42 1994
--- netiso/if_eon.c Sun Aug 28 16:12:55 1994
***************
*** 84,89 ****
--- 84,91 ----
#include <sys/errno.h>
#include <sys/types.h>
+ #include <machine/cpu.h>
+
#include <net/if.h>
#include <net/if_types.h>
#include <net/if_dl.h>
*** netns/ns_ip.c.orig Sun Aug 28 16:13:58 1994
--- netns/ns_ip.c Sun Aug 28 16:12:09 1994
***************
*** 50,55 ****
--- 50,57 ----
#include <sys/ioctl.h>
#include <sys/protosw.h>
+ #include <machine/cpu.h>
+
#include <net/if.h>
#include <net/netisr.h>
#include <net/route.h>
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------