Subject: make build failed
To: None <current-users@netbsd.org>
From: None <ks@ub.uni-mainz.de>
List: current-users
Date: 09/29/1999 12:15:37
hi,
just got this one: (compiling on i386, sources cvs'ed this morning)
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror
-DRDUMP -I/usr/src/sbin/dump -c main.c
cc1: warnings being treated as errors
main.c: In function `main':
main.c:118: warning: unused variable `ufsi'
*** Error code 1
Stop.
seems that line 118 in main is ok. but looking at the definition of
fs_parametrize() the following patch should be applied:
*** /tmp/main.c Wed Sep 29 12:09:07 1999
--- main.c Wed Sep 29 10:28:55 1999
***************
*** 411,417 ****
msgtail("to %s\n", tape);
msg("Label: %s\n", labelstr);
! ufsib = fs_parametrize();
dev_bshift = ffs(dev_bsize) - 1;
if (dev_bsize != (1 << dev_bshift))
--- 411,417 ----
msgtail("to %s\n", tape);
msg("Label: %s\n", labelstr);
! ufsi = fs_parametrize();
dev_bshift = ffs(dev_bsize) - 1;
if (dev_bsize != (1 << dev_bshift))
-kurt