Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 21:48:57 -0500 (EST)
From:      A boy and his worm gear <wpaul@skynet.ctr.columbia.edu>
To:        regnauld@tetard.freenix.fr (Philippe Regnauld)
Cc:        current@freebsd.org
Subject:   Re: Make world fails on /usr/include/rpcsvc
Message-ID:  <199601050248.VAA05707@skynet.ctr.columbia.edu>
In-Reply-To: <199601040704.IAA17257@tetard.freenix.fr> from "Philippe Regnauld" at Jan 4, 96 08:04:42 am

next in thread | previous in thread | raw e-mail | index | archive | help
Of all the gin joints in all the world, Philippe Regnauld had to walk 
into mine and say:

> 
> I just CTM'ed up to src-cur.1342 and started a make world last night --
> it stopped at the following:
> 
> (Mind you, I haven't compiled a new kernel yet -- is it necessary here ?)

No.

> ===> 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
[chop]

For the _third_ time:

You need to build and _install_ the new rpcgen and then rebuild
/usr/include/rpcsvc _before_ you build librpcsvc:

# cd /usr/src/usr.bin/rpcgen
# make
# make install
# cd /usr/src
# make includes

Then it'll work fine.

I thought that adding rpcgen to the tools target in /usr/src/Makefile
was supposed to fix this. Probably what's happening is that the RPC
headers are being generated before the tools target is being built,
so they get built using the _old_ rpcgen, and then later librpcsvc
is being built after the tools target (or after rpcgen anyway) so it's
being built with the _new_ rpcgen, hence the conflict.

Foo.

-Bill
 
> -- 
> - [ regnauld@tetard.frmug.fr.net / +48.8N+2.3E / +33 1 4507 9391 / Sol 3 ] -
> - [ regnauld@freenix.fr		 / FreeBSD 2.x /  			 ] -
>   "Le schtroumpf est ` l'homme ce que le bleu est au billard" - F.Berjon

-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.
=============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601050248.VAA05707>