Subject: Re: Compiling 1.6 Kernel
To: None <nelsonjt@earthlink.net>
From: Frederick Bruckman <fredb@immanent.net>
List: port-i386
Date: 02/03/2003 06:29:34
On Mon, 3 Feb 2003 nelsonjt@earthlink.net wrote:

> I can not compile a kernel for version 1.6.
>
> There is a problem with the ENI pci driver, which causes an error in the
> compiler.  I have to comment out the 'en' pci driver from the
> configuration file.
>
> Make does not know how to make 'vers.o' and stops.
>
> In addition to my edited version, I have tried GENERIC, BOAT_ANCHOR, and
> BIKINI, all with the same result.  I was able to do this with 1.5 with
> no trouble.  I run 'config FILE, change to the build directory, and
> 'make depend', then 'make'.
>
> Is there a known problem here, or should I just reinstall on the grounds
> that I trashed something somewhere.
>
> Version 1.6 was an upgrade from 1.5.2.

The rule to make "vers.o" should be in
"/usr/src/sys/conf/Makefile.kern.inc". 1.6 sources have this version
of that file:

 revision 1.13.4.6
 date: 2002/08/17 16:02:38;  author: lukem;  state: Exp;  lines: +2 -2
 Pull up revision 1.20 (requested by lukem):
 vers.o should also depend upon $S/conf/newvers.sh and
 $S/conf/osrelease.sh

The previous version was in 1.6_RC1. Did you download the sources
dated September 11 from the NetBSD-1-6/sources directory, or do you
have something else?


Frederick