Subject: Building -current fails in
To: 'netbsd-users@netbsd.org' <netbsd-users@netbsd.org>
From: Rose, Brian <Brian.Rose@icn.siemens.com>
List: netbsd-users
Date: 09/25/2002 16:59:22
I recently decided to track -current and ran into a problem. I have been
following the instructions in the Tracking NetBSD-current document on the
website.

The first thing I did was to get the current sources. I CD'ed into /usr/src
and did a 'cvs update -dP'. This worked fine. 
  
Then I updated the toolchain

  # cd /usr/src
  # ./build.sh -t

And then I built the kernel

 # cd /usr/src/sys/arch/i386/conf
 # adjustkernel -o FXA32
 # config FXA32
 # cd ../compile/FXA32
 # make depend
 # make
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?


Thanks in advance for your help.



Brian Rose
brian dot rose at icn dot siemens dot com
407-942-6934

Now located by pole U10 for your complaining convenience.