-current config(8) problem

Scot Hetzel swhetzel at gmail.com
Thu Feb 10 19:49:13 GMT 2005


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


More information about the freebsd-current mailing list