Copy the kernel to your home directory and rm -r /usr/src/*. Then recvsup the source. Try to build again. This has taken care of 90% of my buildkernel problems before.
-cs Cory Banks wrote: > Hi, I'm a little new at this, so please bear with me. > > I'm trying to compile a new kernel for 4.6. I've followed the > handbook's instructions on editing the configuration file, and tried > both methods for compiling and installing the kernel. But when i run > make depend (first method obviously) i get this: > > rm -f .olddep > if [ -f .depend ]; then mv .depend .olddep; fi > make _kernel-depend > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. > -I../../../dev -I../../../contrib/dev/acpica > -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h > -mpreferred-stack-boundary=2 ../../../i386/i386/genassym.c > In file included from ../../../sys/buf.h:271, > from ../../../i386/i386/genassym.c:46: > ../../../sys/proc.h:117: field `ar_args' has incomplete type > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/VB. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/VB. > > VB is the name of the kernel i'm trying to make, obviously. I get the > same error when I use the buildkernel method, and i get the same error > when i try either the new kernel or the GENERIC kernel. > > Any help you can give will be greatly appreciated. Thanks in advance. > > Cory Banks > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message