Subject: Re: Problem configuring kernel
To: None <port-alpha@netbsd.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: port-alpha
Date: 03/25/2007 00:09:40
On Thu, Mar 22, 2007 at 05:15:58PM +0200, Mark Ter Morshuizen wrote:
> Hi,
> 
> I get the following when I try to configure my kernel:
> 
> alpha:/usr/src/sys/arch/alpha/conf# config -v DEC3000
> ../../../../conf/files:5: syntax error
> ../../../../net/files.pf:18: syntax error
> ../../../../net/files.pf:19: syntax error
> ../../../../net/files.pf:20: syntax error
> ../../../../conf/files:168: syntax error
> ../../../../ipkdb/files.ipkdb:5: syntax error
> ../../../../miscfs/procfs/files.procfs:3: syntax error
> *** Stop.
> 
> This happens with any configuration e.g. config GENERIC does the same thing.
> What script is generating the syntax error? How do I fix it?

You are using config from a 3.something release with -current or netbsd-4
kernel sources. This is not supported, you have to use either sources from
one of the netbsd-3* branches, or, if you insist on using -current or
netbsd-4 kernel sources, you should use the cross-compilation tools.

See the links referenced at http://www.netbsd.org/Documentation/kernel/#how_to_build_a_kernel

Pavel