[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble compiling the kernel



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_(_dot_)_btc_(_dot_)_adaptec_(_dot_)_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_(_dot_)_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_(_dot_)_org"



-- 
Salam,
Abdul Rf
email : abdulrf_(_at_)_surabaya_(_dot_)_indo_(_dot_)_net_(_dot_)_id
YM    : abdulrf_sby
PH    : +62 813 307 31596