Subject: Re: lib/4355: librpcsvc does not compile cleanly
To: None <root@install3.clinet.fi>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 10/26/1997 17:11:00
On Mon, 27 Oct 1997 02:46:48 +0200 (EET) 
 Charlie Root <root@install3.clinet.fi> wrote:

you need to build/install a new rpcgen(1) first, then build the
librpcsvc library.

 > 
 > >Number:         4355
 > >Category:       lib
 > >Synopsis:       librpcsvc does not compile cleanly
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    lib-bug-people (Library Bug People)
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sun Oct 26 17:05:02 1997
 > >Last-Modified:
 > >Originator:     hsu@clinet.fi
 > >Organization:
 > 	Clinet Ltd
 > >Release:        sup Oct 23
 > >Environment:
 > 
 > sup Oct 23, but today's (27th oct) sup collapsed to the same point
 > 
 > 	
 > System: NetBSD install3.clinet.fi 1.3_ALPHA NetBSD 1.3_ALPHA (CLINETALPHA) #19: Thu Oct 23 22:40:22 EEST 1997 root@proxy2.clinet.fi:/usr/src/sys/arch/alpha/compile/CLINETALPHA alpha
 > 
 > 
 > >Description:
 > 
 > librpcsvc does not compile cleanly.  It -Werror is removed, it goes through with
 > even more complaints.
 > 
 > ===> librpcsvc
 > cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -nostd
 > inc -idirafter /usr/builddir/usr/include -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'
 > bootparam_prot.c: In function `xdr_ip_addr_t':
 > bootparam_prot.c:62: warning: unused variable `buf'
 > bootparam_prot.c: In function `xdr_bp_address':
 > bootparam_prot.c:85: warning: unused variable `buf'
 > bootparam_prot.c: In function `xdr_bp_whoami_arg':
 > bootparam_prot.c:108: warning: unused variable `buf'
 > bootparam_prot.c: In function `xdr_bp_whoami_res':
 > bootparam_prot.c:122: warning: unused variable `buf'
 > bootparam_prot.c: In function `xdr_bp_getfile_arg':
 > bootparam_prot.c:142: warning: unused variable `buf'
 > bootparam_prot.c: In function `xdr_bp_getfile_res':
 > bootparam_prot.c:159: warning: unused variable `buf'
 > *** Error code 1
 > 
 > Stop.
 > *** Error code 1
 > 
 > Stop.
 > *** Error code 1
 > 
 > Stop.
 > 
 > >How-To-Repeat:
 > 
 > export DESTDIR=/usr/build
 > make distrib-dirs
 > make build
 > 
 > >Fix:
 > 
 > I removed -Werror from share/mk/bsd.sys.mk and now trying to recompile.
 > 
 > 
 > >Audit-Trail:
 > >Unformatted:

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939