Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2002 19:30:54 -0400
From:      Chris Strzelczyk <stenchmaster@blackhelicopters.org>
To:        Cory Banks <cbanks@dyndns.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: make depend error when compiling 4.6 kernel
Message-ID:  <3D8E52AE.4010809@blackhelicopters.org>
References:  <3D8E52D0.2030607@dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D8E52AE.4010809>