trouble compiling the kernel

Abdul Rf abdulrf at surabaya.indo.net.id
Tue Aug 31 21:49:49 PDT 2004


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 at 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 at freebsd.org mailing list
BA> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
BA> To unsubscribe, send any mail to
BA> "freebsd-questions-unsubscribe at freebsd.org"



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



More information about the freebsd-questions mailing list