Subject: Kernel build errors in krpc_subr.o
To: current users <current-users@NetBSD.ORG>
From: Paul Goyette <>
List: current-users
Date: 10/07/1997 06:07:14
If you build a kernel with network and nfs support, but without any
Ethernet (or Ethernet-like devices that support ARP), you'll get several
undefined symbols from module krpc_subr.o when you get to the link stage.
This is because the module krpc_subr.o should not be included in a kernel
that doesn't have ARP-able device support.

I've already sent in a PR (no number yet), but you can apply the following
patch to sys/conf/files to prevent the inclusion of krpc_subr.o in your
kernel.  Remember to re-run config and make depend!

--- 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

| Paul Goyette       | PGP Public Key fingerprint:  | E-mail addresses:     |
| Network Consultant |     0E 40 D2 FC 2A 13 74 A0  |    |
| and kernel hacker  |     E4 69 D5 BE 65 E4 56 C6  | |