Subject: lib/1215: rpc.bootparamd doesn't compile
To: None <gnats-admin@sun-lamp.pc.cs.cmu.edu>
From: None <Mark_Weaver@brown.edu>
List: netbsd-bugs
Date: 07/12/1995 02:35:04
>Number:         1215
>Category:       lib
>Synopsis:       rpc.bootparamd doesn't compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   mhw
>Arrival-Date:   Wed Jul 12 02:35:02 1995
>Originator:     Mark Weaver
>Organization:
Brown University Department of Computer Science
>Release:        NetBSD-current 7/9/95
>Environment:
NetBSD cis-ts4-slip4.cis.brown.edu 1.0A NetBSD 1.0A (WEAVER) #0: Sun Jul  9 06:38:02 EDT 1995     mhw@cis-ts4-slip4.cis.brown.edu:/usr/src/sys/arch/i386/compile/WEAVER i386
>Description:
	rpc.bootparamd doesn't compile.  The problem is that
	src/lib/librpcsvc/bootparam_prot.x doesn't include rpc/svc.h,
	which is necessary to compile the server stubs.

>How-To-Repeat:
	cd /usr/src/usr.sbin/rpc.bootparamd
	make

	bootparam_prot_svc.c fails to compile because it needs the
	definition of SVCXPRT from rpc/svc.h, but bootparam_prot.x
	doesn't include it.

>Fix:
diff -c  src/lib/librpcsvc/bootparam_prot.x.mhw1 src/lib/librpcsvc/bootparam_prot.x
*** src/lib/librpcsvc/bootparam_prot.x.mhw1	Tue May 30 08:33:17 1995
--- src/lib/librpcsvc/bootparam_prot.x	Wed Jul 12 01:59:17 1995
***************
*** 40,45 ****
--- 40,46 ----
  #ifdef RPC_HDR
  %#include <sys/param.h>
  %#include <rpc/types.h>
+ %#include <rpc/svc.h>
  %#include <sys/time.h>
  %#include <sys/errno.h>
  %#include <sys/ucred.h>
>Audit-Trail:
>Unformatted: