Subject: Re: GENERIC won't config?
To: None <netbsd-help@NetBSD.org>
From: Chuck Zmudzinski <brchuck@hotmail.com>
List: netbsd-help
Date: 01/19/2006 23:06:05
----- Original Message ----- 
From: "James K. Lowden" <jklowden@schemamania.org>
To: <netbsd-help@NetBSD.org>
Sent: Thursday, January 19, 2006 10:19 PM
Subject: Re: GENERIC won't config?


> Chuck Zmudzinski wrote:
> > James K. Lowden wrote:
> >
> > >What have I done?  Back in July I built a custom kernel for my Soekris
> > >box.  Now I want to adjust it, and nothing works.
> ...
> > >$ config GENERIC
> > >../../../../netinet/files.ipfilter:22: syntax error
> > >../../../../net/files.pf:16: syntax error
>
> > What are your TOOLDIR and USETOOLS mk variables set to? I think it is in
> >
> > /etc/mk.conf or in the environment.
>
> Does that matter?  I ask because config(8) is complaining, not make.
> FWIW, they're not defined afaict.
>
> $ make -V TOOLDIR -V USETOOLS
> $ env | grep -E 'TOOLDIR|USETOOLS'
> $ grep -E 'TOOLDIR|USETOOLS' /etc/mk.conf
> [no output]
>
> Thanks, though.
>
> --jkl
>

Another idea: If you might have updated your toolchain for pkgsrc, you might
have updated config and now your config version does not match your kernel
source. Try restoring the corresponding config for the kernel version you
are trying to build.

Chuck Zmudzinski