Subject: Re: Config Generic
To: Chris Swart <chrissw@cat.co.za>
From: Dave Uhring <duhring@charter.net>
List: netbsd-help
Date: 02/04/2003 08:06:11
On Tuesday 04 February 2003 06:25 am, Chris Swart wrote:
> Hi,
>
> I have installed NetBSD.1.6 on my i386 system. I have done a current
> update on the "src" directory and I am trying to compile the GENERIC
> kernel. But when doing "conf GENERIC" in the
> "/usr/src/sys/arch/i386/conf" directory an error message comes up
> stating:
>
> ../../../../netinet6/files.netipsec:4: syntax error
> ../../../../conf/files:174: syntax error
> ../../../../conf/files:222: syntax error
> ../../../../conf/files:412: undefined attribute 'wlan'
> ../../../../conf/files:418: undefined attribute 'wlan'
> ***Stop.

You need to build your tools first.

http://netbsd.org/Documentation/current/

Updating an existing system (top)

    This involves building and installing a new kernel first, then updating 
the userland to match. If you have any problems, see the UPDATING file.

        * Build the toolchain.
          From the root of the source tree, run './build.sh -t'. This will 
build a toolchain in tools/obj/tools.<hostplatform>/bin.
        * Build and install the kernel.
              o cd sys/arch/ARCH/conf
              o .../tools/obj/tools.<hostplatform>/bin/nbconfig GENERIC
              o cd ../compile/GENERIC
              o .../tools/obj/tools.<hostplatform>/bin/nbmake-ARCH
        o make install (this will rename /netbsd to /onetbsd and install the 
new kernel as /netbsd).
        * Reboot into the new kernel
  * Run ./build.sh