From owner-freebsd-current Thu Jan 4 20:49:48 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA03529 for current-outgoing; Thu, 4 Jan 1996 20:49:48 -0800 (PST) Received: from bacchus.eng.umd.edu (bacchus.eng.umd.edu [129.2.94.5]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA03507 for ; Thu, 4 Jan 1996 20:48:09 -0800 (PST) Received: from espresso.eng.umd.edu (espresso.eng.umd.edu [129.2.98.13]) by bacchus.eng.umd.edu (8.7.3/8.7) with ESMTP id XAA09804; Thu, 4 Jan 1996 23:48:04 -0500 (EST) Received: (chuckr@localhost) by espresso.eng.umd.edu (8.7.3/8.6.4) id XAA10752; Thu, 4 Jan 1996 23:48:03 -0500 (EST) Date: Thu, 4 Jan 1996 23:48:00 -0500 (EST) From: Chuck Robey X-Sender: chuckr@espresso.eng.umd.edu To: Philippe Regnauld cc: freebsd-current@FreeBSD.org Subject: Re: Make world fails on /usr/include/rpcsvc In-Reply-To: <199601040704.IAA17257@tetard.freenix.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org Precedence: bulk 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 To: Michael Smith 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 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. ============================================================================= ============================================================================ 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!: