Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 1995 16:46:58 -0500 (EST)
From:      A boy and his worm gear <wpaul@skynet.ctr.columbia.edu>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        current@freebsd.org
Subject:   Re: Where's the earth-shattering KABOOM?
Message-ID:  <199512282146.QAA04169@skynet.ctr.columbia.edu>
In-Reply-To: <199512280926.TAA02422@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Dec 28, 95 07:56:28 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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.
=============================================================================



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