Subject: Re: current build error in adosfs?
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 03/13/2007 01:34:54
> # compile adosfs/advfsops.o
> /usr/src/obj.i386/tooldir.NetBSD-4.99.13-i386/bin/i386--netbsdelf-gcc -O2
> -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
> -Wno-traditional -Werror -I/usr/src/common/include -nostdinc -I.
> -I/usr/src/sys/lkm/vfs/adosfs -isystem /usr/src/sys -isystem
> /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM
> -c /usr/src/sys/fs/adosfs/advfsops.c
> /usr/src/sys/fs/adosfs/advfsops.c:82:27: error: macro "POOL_INIT" requires
> 8 arguments, but only 7 given
> cc1: warnings being treated as errors
> /usr/src/sys/fs/adosfs/advfsops.c:81: warning: data definition has no type
> or storage class
> /usr/src/sys/fs/adosfs/advfsops.c:81: warning: type defaults to 'int' in
> declaration of 'POOL_INIT'
> /usr/src/sys/fs/adosfs/advfsops.c: In function 'adosfs_init':
> /usr/src/sys/fs/adosfs/advfsops.c:800: error: too few arguments to
> function 'pool_init'
>
> *** Failed target: advfsops.o
> *** Failed command:
> /usr/src/obj.i386/tooldir.NetBSD-4.99.13-i386/bin/i386--netbsdelf-gcc -O2
> -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
> -Wno-traditional -Werror -I/usr/src/common/include -nostdinc -I.
> -I/usr/src/sys/lkm/vfs/adosfs -isystem /usr/src/sys -isystem
> /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM
> -c /usr/src/sys/fs/adosfs/advfsops.c
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src/sys/lkm/vfs/adosfs
>
> *** Failed target: dependall
> *** Failed command: cd /usr/src/sys/lkm/vfs/adosfs;
> /usr/src/obj.i386/tooldir.NetBSD-4.99.13-i386/bin/nbmake realall
> *** Error code 1
Fixed!
Andrew