Subject: Re: build error
To: Kevin Tsang <tsang@promis.com>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 12/01/1997 09:45:21
I'm not sure what happend here, try rebuilding rpcgen first:

cd /usr/src/usr.bin/rpcgen
make clean && make depend && make && make install

and the do a make clean && make depend && make in /usr/src/lib/librpcsvc

On Mon, 01 Dec 1997 09:18:13 EST Kevin Tsang writes
> Hi.  I'm running a 1.2G kernel trying to build 1.3_BETA src files.  Here's
> the error I get when running make in /usr/src:
> 
> all ===> librpcsvc
> cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith  -c bootparam_prot.c
> cc1: warnings being treated as errors
> bootparam_prot.c: In function `xdr_bp_machine_name_t':
> bootparam_prot.c:20: warning: unused variable `buf'
> bootparam_prot.c: In function `xdr_bp_path_t':
> bootparam_prot.c:34: warning: unused variable `buf'
> bootparam_prot.c: In function `xdr_bp_fileid_t':
> bootparam_prot.c:48: warning: unused variable `buf'
> etc, etc,
> 
> *** Error code 1  
> 
> Stop.
> *** Error code 1
> 
> Stop.
> 
> The build will work with older source (.c) files.
> 
> ============================
> Kevin Tsang
> Technical Analyst
> Promis Systems Corp.
> 
> 

-- 
Andreas Wrede              Planix, Inc.
andreas@planix.com         Networking, System Administration, Consulting
http://www.planix.com      Toronto, Ontario, Canada