Subject: lib/4355: librpcsvc does not compile cleanly
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Root <root@install3.clinet.fi>
List: netbsd-bugs
Date: 10/27/1997 02:46:48
>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: