Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 12:03:49 +0700
From:      Abdul Rf <abdulrf@surabaya.indo.net.id>
To:        Bob Ababurko <ababurko@adelphia.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: trouble compiling the kernel
Message-ID:  <1888443885.20040901120349@surabaya.indo.net.id>
In-Reply-To: <5.2.1.1.0.20040901003920.00a96148@mail.dc2.adelphia.net>
References:  <5.2.1.1.0.20040901003920.00a96148@mail.dc2.adelphia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Bob,

Try this one.
    cd /usr/src/usr.sbin/config
    make
    make install
and try again to build your kernel.


regards,
abdul rf

Wednesday, September 1, 2004, 11:45:28 AM, you wrote:

BA> Hello all-

BA>    I am trying to recompile my kernel to make use of dummynet per the
BA> instruction in the handbook and I am getting this error output and cannot
BA> make use of it.  I am calling my edited config file DUMMYNET, fyi.

BA> bash-2.05b# make buildkernel KERNCONF=DUMMYNET

BA> --------------------------------------------------------------
 >>>> Kernel build for DUMMYNET started on Wed Sep  1 00:38:41 EDT 2004
BA> --------------------------------------------------------------
===>> DUMMYNET
BA> mkdir -p /usr/obj/usr/src/sys

BA> --------------------------------------------------------------
 >>>> stage 1: configuring the kernel
BA> --------------------------------------------------------------
BA> cd 
BA> /usr/src/sys/i386/conf; 
BA> 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
BA> config  -d /usr/obj/usr/src/sys/DUMMYNET 
BA> /usr/src/sys/i386/conf/DUMMYNET
BA> ERROR: version of config(8) does not match kernel!
BA> config version = 500012, version required = 500013

BA> Make sure that /usr/src/usr.sbin/config is in sync
BA> with your /usr/src/sys and install a new config binary
BA> before trying this again.

BA> If running the new config fails check your config
BA> file against the GENERIC or LINT config files for
BA> changes in config syntax, or option/device naming
BA> conventions

BA> *** Error code 1

BA> Stop in /usr/src.
BA> *** Error code 1

BA> Stop in /usr/src.


BA> the output from uname -a goes like this:

BA> bash-2.05b# uname -a
BA> FreeBSD europa.phreakout.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon
BA> Feb 23 20:45:55 GMT 
BA> 2004    
BA> root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386

BA> Any help to figure what configure is doing here would be graciously accepted!

BA> thanks,
BA> Bob

BA> _______________________________________________
BA> freebsd-questions@freebsd.org mailing list
BA> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
BA> To unsubscribe, send any mail to
BA> "freebsd-questions-unsubscribe@freebsd.org"



-- 
Salam,
Abdul Rf
email : abdulrf@surabaya.indo.net.id
YM    : abdulrf_sby
PH    : +62 813 307 31596



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1888443885.20040901120349>