Subject: Re: Building -current fails in
To: None <netbsd-users@netbsd.org>
From: David S. <davids@idiom.com>
List: netbsd-users
Date: 09/25/2002 14:18:14
> cc  -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length
> -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized
> -Di386 -I.  -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32
> -D_KERNEL -D_KERNEL_OPT   -c
> /usr/src/sys/arch/i386/compile/FXA32/../../../../arch/i386/i386/conf.c
> cc1: warnings being treated as errors
> /usr/src/sys/arch/i386/compile/FXA32/../../../../arch/i386/i386/conf.c:49:
> warning: type defaults to `int' in declaration of `bdev_decl'
> /usr/src/sys/arch/i386/compile/FXA32/../../../../arch/i386/i386/conf.c:49:
> warning: parameter names (without types) in function declaration
> /usr/src/sys/arch/i386/compile/FXA32/../../../../arch/i386/i386/conf.c:49:
> warning: data definition has no type or storage class
> /usr/src/sys/arch/i386/compile/FXA32/../../../../arch/i386/i386/conf.c:50:
> warning: type defaults to `int' in declaration of `bdev_decl'
> 
> ... and on and on. There are errors as well, not just warnings.
> 
> 
> Did I do something wrong or is conf.c just broken?

From '/usr/src/UPDATIING' in -current (1.6H):

20020906:
        gehenna-devsw has been merged into the trunk. Need to update and
        reinstall usr.sbin/config before build the kernel.

To update 'usr.sbin/config'.

	cd /usr/src/usr.sbin/config
	make clean
	make depend
	make
	make install

David S.

>