From root@davewpc.sees.bangor.ac.uk  Wed Aug 16 07:26:44 1995
Received: from davewpc.sees.bangor.ac.uk (davewpc.sees.bangor.ac.uk [147.143.6.24])
          by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id HAA29471
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Aug 1995 07:26:42 -0700
Received: (from root@localhost) by davewpc.sees.bangor.ac.uk (8.6.11/8.6.9) id PAA03544; Wed, 16 Aug 1995 15:23:33 +0100
Message-Id: <199508161423.PAA03544@davewpc.sees.bangor.ac.uk>
Date: Wed, 16 Aug 1995 15:23:33 +0100
From: Davewpc Root <root@davewpc.sees.bangor.ac.uk>
Reply-To: root@davewpc.sees.bangor.ac.uk
To: FreeBSD-gnats-submit@freebsd.org
Subject: No include file in rpcgen output
X-Send-Pr-Version: 3.2

>Number:         694
>Category:       bin
>Synopsis:       No include file in rpcgen output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wpaul
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 16 07:30:02 PDT 1995
>Closed-Date:    Thu Feb 8 20:50:45 PST 1996
>Last-Modified:  Thu Feb  8 20:57:49 PST 1996
>Originator:     Davewpc Root
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Organization:
School of Electronic & Computer Systems, Univ. Wales Bangor
>Environment:

	

>Description:

	foo.h generated from foo.x by rpcgen does not contain a line

	#include <rpc/type.h>

	This is not serious but it is a real pain in the neck when developing
	software for more than one platform (Sun and OSF both have the include).

>How-To-Repeat:

	Compare output of rpcgen on FreeBSD, Sun, Dec Alpha(OSF).

>Fix:
	
	Manually edit in the line.  Ideally rpcgen should be changed so that
	foo.h contains the #include and foo.h foo_svc.c foo_clnt.c foo_xdr.c
	have a "Please do not edit this file.  It was generated by rpcgen" 
	warning.  These alterations whould bring FreeBSD's rpcgen into line
	with other system's rpcgen's.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wpaul 
Responsible-Changed-By: pst 
Responsible-Changed-When: Wed Feb 7 18:17:02 PST 1996 
Responsible-Changed-Why:  
State-Changed-From-To: open->closed 
State-Changed-By: wpaul 
State-Changed-When: Thu Feb 8 20:50:45 PST 1996 
State-Changed-Why:  

FreeBSD was, until very recently, using a very crufty version of rpcgen. 
It has been replaced in -current with 'rpcgen.new,' which is the rpcgen 
from the TIRPC 2.3 release from Sun (the last one they released, so far 
as I know). This version of rpcgen emits an '#include <rpc/rpc.h>' when 
generating header files, and this in turn includes <rpc/types.h>. 
>Unformatted:
