kernel recompilation

Haidut haidut at gmail.com
Wed Sep 20 16:12:39 PDT 2006


Hi all,

I am trying to compile a custom kernel and I am following the
inctructions on the Dfly website. However when I run the command "make
buildkernel KERNCONF=MYKERNEL" I get the following error:


***************************************
bash-3.1# make -v buildkernel KERNCONF=MYKERNEL
--------------------------------------------------------------
Kernel build for MYKERNEL started on Wed Sep 20 18:47:53 EDT 2006
--------------------------------------------------------------
===> MYKERNEL
rm -rf /usr/obj/usr/src/sys/MYKERNEL
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf;
PATH=/usr/obj/usr/src/ctools_i386_i386/usr/sbin:/usr/obj/usr/src/ctools_i386_i386/usr/bin:/usr/obj/usr/src/ctools_i386_i386/bin:/usr/obj/usr/src/ctools_i386_i386/usr/games:/usr/obj/usr/src/btools_i386/usr/sbin:/usr/obj/usr/src/btools_i386/usr/bin:/usr/obj/usr/src/btools_i386/bin:/usr/obj/usr/src/btools_i386/usr/games
config  -d /usr/obj/usr/src/sys/MYKERNEL
/usr/src/sys/i386/conf/MYKERNEL
config: line 224: syntax error
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
****************************************
I thought that "line 224" refers to the line in MYKERNEL which the
build process finds problematic. However, line 224 in that file is
this:
define  wlan_ratectl_onoe  # 802.11 Onoe TX rate control algorithm

which seems fine to me. Any clue as to what I am doing wrong?





More information about the Users mailing list