From owner-freebsd-questions Sun Sep 22 16:31: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2512C37B401 for ; Sun, 22 Sep 2002 16:31:02 -0700 (PDT) Received: from mail.gltg.com (mail.gltg.com [198.88.119.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B3F143E65 for ; Sun, 22 Sep 2002 16:31:01 -0700 (PDT) (envelope-from stenchmaster@blackhelicopters.org) Received: from blackhelicopters.org ([68.60.193.110]) by mail.gltg.com with Microsoft SMTPSVC(5.0.2195.4905); Sun, 22 Sep 2002 19:30:04 -0400 Message-ID: <3D8E52AE.4010809@blackhelicopters.org> Date: Sun, 22 Sep 2002 19:30:54 -0400 From: Chris Strzelczyk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20020919 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cory Banks Cc: freebsd-questions@FreeBSD.ORG Subject: Re: make depend error when compiling 4.6 kernel References: <3D8E52D0.2030607@dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Sep 2002 23:30:04.0639 (UTC) FILETIME=[FABDE6F0:01C2628F] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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