old way and new way still same error

sonjaya son_jaya at yahoo.com
Wed Oct 13 22:29:26 PDT 2004


 dear all 
 
  i try make new kernel for my machine freebsd ,i
 ussualy do that whit this 
 gw-mtc# cd /usr/src/sys/i386/conf/
 gw-mtc# /usr/sbin/config BANDOENG3
 Kernel build directory is ../compile/BANDOENG3
 Don't forget to do a ``make depend''
 gw-mtc# cd ../compile/BANDOENG3/
 gw-mtc# make depend
 rm -f .olddep
 if [ -f .depend ]; then mv .depend .olddep; fi
 make _kernel-depend
 cc -c -O -pipe -mcpu=pentiumpro -Wall
 -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual -fformat-extensions -std=c99 -g
 -nostdinc
 -I- -I. -I../../.. -I../../../contrib/dev/acpica
 -I../../../contrib/altq -I../../../contrib/ipfilter
 -I../../../contrib/pf -I../../../contrib/dev/ath
 -I../../../contrib/dev/ath/freebsd
 -I../../../contrib/ngatm -D_KERNEL -include
 opt_global.h -finline-limit=8000 --param
 inline-unit-growth=100 --param
 large-function-growth=1000 -mno-align-long-strings
 -mpreferred-stack-boundary=2 -ffreestanding
 ../../../i386/i386/genassym.c
 cc1: error: invalid parameter `inline-unit-growth'
 cc1: error: invalid parameter
 `large-function-growth'
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/BANDOENG3.
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/BANDOENG3.
 gw-mtc#
 
 
 i do another way like in freebsd handbook :
 gw-mtc# rm -rf /usr/obj/*
 gw-mtc# cd /usr/src/
 gw-mtc# make buildkernel KERNCONF=BANDOENG3
 cd /usr/src/sys/modules;

MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/BANDOENG3/modules
 KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386
 KERNBUILDDIR="/usr/obj/usr/src/sys/BANDOENG3" make 
 cleandir
 +for: not found
 *** Error code 127
 
 Stop in /usr/src/sys/modules.
 *** Error code 1
 
 Stop in /usr/obj/usr/src/sys/BANDOENG3.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 gw-mtc#
 
 
 any body here what should i fix it, i doit cvsup
 every
 morning and get problem like this .
 thc
 

 


=====
SONJAYA



More information about the freebsd-questions mailing list