Subject: kern/4233: undefined symbols at kernel build time
To: None <>
From: Paul Goyette <>
List: netbsd-bugs
Date: 10/07/1997 06:04:14
>Number:         4233
>Category:       kern
>Synopsis:       undefined symbols at kernel build time
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct  7 06:20:02 1997
>Originator:     Paul Goyette
>Release:        6-Oct-1997
System: NetBSD 1.2G NetBSD 1.2G (SM) #34: Sat Sep 27 09:06:33 PDT 1997 (current as of Fri Sep 26 04:32:47 1997) mac68k

	Building a kernel without an ARP-capable device causes undefined
	symbols at kernel link time.  These symbols come from krpc_subr.o
	which should not be included in the kernel if there are no ARP-
	capable devices configured.
	Build a minimal kernel with network and nfs client & server support
	but without any network devices except for ppp and/or slip.
	Apply the following patch to sys/files to prevent inclusion of 
	nfs/krpc_subr.o in such kernels:

--- files	Mon Sep 22 04:25:54 1997
+++ new_files	Tue Oct  7 05:58:08 1997
@@ -423,7 +423,7 @@
 file netns/ns_proto.c			ns
 file netns/spp_debug.c			ns
 file netns/spp_usrreq.c			ns
-file nfs/krpc_subr.c			nfs
+file nfs/krpc_subr.c			nfs & arp
 file nfs/nfs_bio.c			nfs
 file nfs/nfs_boot.c			nfs
 file nfs/nfs_bootdhcp.c 		nfs & arp