NetBSD Problem Report #1215
From gnats Wed Jul 12 02:23:21 1995
Received: from cis-ts4-slip4.cis.brown.edu (root@cis-ts4-slip4.cis.brown.edu [128.148.19.75]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id CAA11389 for <gnats-bugs@gnats.netbsd.org>; Wed, 12 Jul 1995 02:23:12 -0400
Message-Id: <199507120624.CAA21304@cis-ts4-slip4.cis.brown.edu>
Date: Wed, 12 Jul 1995 02:24:23 -0400
From: Mark_Weaver@brown.edu
Reply-To: Mark_Weaver@brown.edu
To: gnats-bugs@gnats.netbsd.org
Subject: rpc.bootparamd doesn't compile
X-Send-Pr-Version: 3.2
>Number: 1215
>Category: lib
>Synopsis: rpc.bootparamd doesn't compile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 12 06:35:02 +0000 1995
>Closed-Date: Wed Jul 12 06:58:11 +0000 1995
>Last-Modified: Wed Aug 07 21:38:57 +0000 2002
>Originator: Mark Weaver
>Release: NetBSD-current 7/9/95
>Organization:
Brown University Department of Computer Science
>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>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Wed Jul 12 02:58:11 EDT 1995
State-Changed-Why:
rpc/svc.h is included by rpc/rpc.h, which rpcgen includes in all svc .h
files (as far as i can tell).
With up-to-date current sources, includes, binaries, and libraries, this
compiles fine for me.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.