Subject: -current not building: lfs_rfw.c
To: None <current-users@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 12/12/2007 09:48:40
This is with up-to-date source and a clean build tree.


#   compile  liblfs/lfs_rfw.o
/usr/BUILD/tools/bin/i386--netbsdelf-gcc -O0 -g -Wno-pointer-sign -ffreestanding -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99  -Werror   -I/usr/src/sys/rump/include  -I/usr/src/sys/rump/fs/lib/liblfs -I. -D_KERNEL -DDIAGNOSTIC -I/usr/src/common/include -D_RUMPKERNEL -nostdinc -I/usr/src/sys   -nostdinc -isystem /usr/BUILD/netbsd/usr/include -c    /usr/src/sys/ufs/lfs/lfs_rfw.c -o lfs_rfw.o
/usr/src/sys/ufs/lfs/lfs_rfw.c: In function 'lfs_rf_valloc':
/usr/src/sys/ufs/lfs/lfs_rfw.c:134: error: too many arguments to function 'lfs_truncate'
/usr/src/sys/ufs/lfs/lfs_rfw.c: In function 'update_inoblk':
/usr/src/sys/ufs/lfs/lfs_rfw.c:344: error: too many arguments to function 'lfs_truncate'
cc1: warnings being treated as errors
/usr/src/sys/ufs/lfs/lfs_rfw.c: In function 'check_segsum':
/usr/src/sys/ufs/lfs/lfs_rfw.c:472: warning: pointer of type 'void *' used in arithmetic
/usr/src/sys/ufs/lfs/lfs_rfw.c:472: warning: pointer of type 'void *' used in arithmetic
/usr/src/sys/ufs/lfs/lfs_rfw.c:476: warning: pointer of type 'void *' used in arithmetic
/usr/src/sys/ufs/lfs/lfs_rfw.c:492: warning: pointer of type 'void *' used in arithmetic
/usr/src/sys/ufs/lfs/lfs_rfw.c: In function 'lfs_roll_forward':
/usr/src/sys/ufs/lfs/lfs_rfw.c:656: warning: empty body in an if-statement

*** Failed target:  lfs_rfw.o



		--Steve Bellovin, http://www.cs.columbia.edu/~smb