Date: Thu, 4 Jan 1996 23:48:00 -0500 (EST) From: Chuck Robey <chuckr@glue.umd.edu> To: Philippe Regnauld <regnauld@tetard.freenix.fr> Cc: freebsd-current@FreeBSD.org Subject: Re: Make world fails on /usr/include/rpcsvc Message-ID: <Pine.SUN.3.91.960104234519.9793D-100000@espresso.eng.umd.edu> In-Reply-To: <199601040704.IAA17257@tetard.freenix.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Jan 1996, Philippe Regnauld wrote:
> I just CTM'ed up to src-cur.1342 and started a make world last night --
> it stopped at the following:
[all the error lines deleted]
Here's a copy of a recent -current post, I think it deals with your problem.
>From wpaul@skynet.ctr.columbia.eduThu Jan 4 23:43:12 1996
Date: Thu, 28 Dec 1995 16:46:58 -0500 (EST)
From: A boy and his worm gear <wpaul@skynet.ctr.columbia.edu>
To: Michael Smith <msmith@atrad.adelaide.edu.au>
Cc: current@freebsd.org
Subject: Re: Where's the earth-shattering KABOOM?
Of all the gin joints in all the world, Michael Smith had to walk
into mine and say:
>
> Ok, so I should just sit back and wait and try again, but I'm impatient 8)
>
> Anyone care to comment? :
>
> building shared resolv library (version 2.0)
> ===> lib/librpcsvc
> cc -O -m486 -pipe -I/usr/include/rpcsvc -c klm_prot_xdr.c -o klm_prot_xdr.o
> In file included from klm_prot_xdr.c:6:
> /usr/include/rpcsvc/klm_prot.h:10: parse error before `xdr_klm_stats'
> /usr/include/rpcsvc/klm_prot.h:10: warning: data definition has no type or storage class
> ...
This is a side effect of the new rpcgen: you need to rebuild
/usr/include/rpcsvc before rebuilding librpcsvc.{a.so}. And you
need to have the new rpcgen installed first, of course. :) This should
work correctly now that rpcgen has been added to the tools target in
the top level Makefile.
Basically, the new rpcgen creates the header files with #include <rpc/rpc.h>
in them, whereas the old rpcgen put this line in the stub files. Until
you rebuild /usr/include/rpcsvc/klm_prot.h with the new rpcgen, you won't
have #include <rpc/rpc.h> in either the header or klm_prot_xdr.c, so
the compiler complains about lots of things being undefined.
If you want to be quick and dirty, manually install the new rpcgen and
do a 'make includes'.
-Bill
--
=============================================================================
-Bill Paul (212) 854-6020 | System Manager
Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
License error: The license for this .sig file has expired. You must obtain
a new license key before any more witty phrases will appear in this space.
=============================================================================
============================================================================
Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2
---------------------------------------------------------------------------
The Dilbert Zone is Dilbert's new WWW home! The area
features never-before-seen original sketches of Dilbert, a photo tour
of Scott Adams' studio, Dilbert Trivia and memorabilia, high
school photos and much more!:
<URL:http://www.unitedmedia.com/comics/dilbert/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960104234519.9793D-100000>
