Re: -current config(8) problem

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Thu, 10 Feb 2005 13:48:35 -0600
On Fri, 11 Feb 2005 03:21:21 +0800, Jiawei Ye <leafy7382_at_gmail.com> wrote:
> When trying to compile the kernel to day, I get this weird message:
> root_at_chihiro:/usr/src# make kernel
> 
> --------------------------------------------------------------
> >>> Kernel build for CHIHIRO started on Fri Feb 11 03:19:47 CST 2005
> --------------------------------------------------------------
> ===> CHIHIRO
> mkdir -p /usr/obj/usr/src/sys
> 
> --------------------------------------------------------------
> >>> stage 1: configuring the kernel
> --------------------------------------------------------------
> cd /usr/src/sys/i386/conf;
> PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> config  -d /usr/obj/usr/src/sys/CHIHIRO
> /usr/src/sys/i386/conf/CHIHIRO
> ERROR: version of config(8) does not match kernel!
> config version = 600001, version required = 600000
> 
> Make sure that /usr/src/usr.sbin/config is in sync
> with your /usr/src/sys and install a new config binary
> before trying this again.
> 
> If running the new config fails check your config
> file against the GENERIC or LINT config files for
> changes in config syntax, or option/device naming
> conventions
> 
Did you do a "make buildworld" before your "make kernel"?

If you did, then do as the error messages says above:

cd /usr/src/usr.sbin/config
make obj
make
make install
cd /usr/src/
make buildkernel

If this fails, try re-cvsuping your sources and try a new buildworld,
buildkernel.

Scot
Received on Thu Feb 10 2005 - 18:49:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC