Subject: Re: Kernel build errors in krpc_subr.o
To: None <paul@whooppee.com>
From: Gordon W. Ross <gwr@mc.com>
List: current-users
Date: 10/07/1997 11:28:58
> Date: Tue, 7 Oct 1997 06:07:14 -0700 (PDT)
> From: Paul Goyette <paul@whooppee.com>

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

If you do that, then you can not do NFS root over PPP/SLIP,
(with BOOTP) which was intended to work.  Does anybody care?

Gordon