From owner-freebsd-current Sat Sep 28 5:57: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AB0D37B401 for ; Sat, 28 Sep 2002 05:57:08 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 998F743E3B for ; Sat, 28 Sep 2002 05:57:07 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from smtp.swissonline.ch (mail-4.swissonline.ch [62.2.32.85]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g8SCv5Z2027863 for ; Sat, 28 Sep 2002 14:57:05 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: from snoopy.here (dclient80-218-74-198.hispeed.ch [80.218.74.198]) by smtp.swissonline.ch (8.11.6/8.11.6/SMTPSOL/AWF/2002040101) with ESMTP id g8SCv5F15771 for ; Sat, 28 Sep 2002 14:57:05 +0200 (MEST) Received: (from hampi@localhost) by snoopy.here (8.11.6/8.11.6) id g8SCv5e13368 for freebsd-current@FreeBSD.ORG; Sat, 28 Sep 2002 14:57:05 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Sat, 28 Sep 2002 14:57:05 +0200 From: Hanspeter Roth To: freebsd-current@FreeBSD.ORG Subject: Re: current make depend: 'ar_args' has incomplete type help Message-ID: <20020928145705.A12212@snoopy.cablecom.ch> Reply-To: freebsd-current@FreeBSD.ORG Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <3D94718D.1080702@mail.gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D94718D.1080702@mail.gddsn.org.cn>; from wsk@ns.gddsn.org.cn on Fri, Sep 27, 2002 at 10:56:13PM +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sep 27 at 22:56, wsk spoke: > > folks: > after succeed buildworld ,i custom mykernel and get the error messages > from make depend. [...] > In file included from ../../../sys/buf.h:271, > from ../../../i386/i386/genassym.c:46: > ../../../sys/proc.h:117: field `ar_args' has incomplete type I had the same. I tried to build and install the kernel first. Maybe, it's because you have an old compiler installed. Try installing world first. Alternatively you might try to patch proc.h. --- proc.h Fri Sep 27 22:09:29 2002 +++ proc.h.orig Fri Sep 27 21:49:33 2002 @@ -114,7 +114,7 @@ struct pargs { u_int ar_ref; /* Reference count. */ u_int ar_length; /* Length. */ - u_char *ar_args; /* Arguments. */ + u_char ar_args[]; /* Arguments. */ }; /*- -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message