Subject: nfs_boot.c error
To: None <current-users@NetBSD.ORG>
From: Paul Goyette <paul@pgoyette.bdt.com>
List: current-users
Date: 02/16/1996 01:43:44
Got the following error building from Feb.15 -current sources:

ld -n -Ttext 0 -e start -x -o netbsd ${SYSTEM_OBJ} vers.o
nfs_vfsops.o: Undefined symbol `_nfs_boot_getfh' referenced from text segment
nfs_vfsops.o: Undefined symbol `_nfs_boot_getfh' referenced from text segment
*** Error code 1

Stop.

Seems like someone forgot to create a dummy nfs_boot_getfh() routine in 
the case when NETHER = 0 (as it does in my config).  The following patch 
creates the dummy routine, in the same way that it does for nfs_boot_init() 

*** /home/paul/nfs_boot.c.orig	Wed Feb 14 04:37:55 1996
--- /home/paul/src/sys/nfs/nfs_boot.c	Fri Feb 16 01:33:57 1996
***************
*** 63,68 ****
--- 63,76 ----
  	panic("nfs_boot_init: no ether");
  }
  
+ void
+ nfs_boot_getfh(bpsin, key, ndmntp)
+ 	struct sockaddr_in *bpsin;
+ 	char *key;
+ 	struct nfs_dlmount *ndmntp;
+ {
+ 	panic("nfs_getfh: no ether");
+ }
  #else /* NETHER */
  
  /*