From owner-freebsd-current Thu Dec 28 13:45:29 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA01930 for current-outgoing; Thu, 28 Dec 1995 13:45:29 -0800 (PST) Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA01923 for ; Thu, 28 Dec 1995 13:45:23 -0800 (PST) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.11/8.6.9) id QAA04169; Thu, 28 Dec 1995 16:46:59 -0500 From: A boy and his worm gear Message-Id: <199512282146.QAA04169@skynet.ctr.columbia.edu> Subject: Re: Where's the earth-shattering KABOOM? To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Thu, 28 Dec 1995 16:46:58 -0500 (EST) Cc: current@freebsd.org In-Reply-To: <199512280926.TAA02422@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Dec 28, 95 07:56:28 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@freebsd.org Precedence: bulk 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 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 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. =============================================================================