Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2002 15:48:07 +0800
From:      "suken woo" <wsk@mail.gddsn.org.cn>
To:        <freebsd-current@FreeBSD.ORG>
Subject:   Re: current make depend: 'ar_args' has incomplete type help
Message-ID:  <005201c2678c$8cd29ad0$88a8a8c0@gddsn.eqgd.ac.cn>
References:  <3D94718D.1080702@mail.gddsn.org.cn> <20020928145705.A12212@snoopy.cablecom.ch>

next in thread | previous in thread | raw e-mail | index | archive | help

i do it as your indication,but i get cpp core dump
----- Original Message ----- 
From: "Hanspeter Roth" <hanspeter_roth@hotmail.com>
To: <freebsd-current@FreeBSD.ORG>
Sent: Saturday, September 28, 2002 8:57 PM
Subject: Re: current make depend: 'ar_args' has incomplete type help


>   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
> 
N…'²æìr¸›zǧvf¢–Ú&j:+v‰¨·ž è®"¶§²æìr¸›yúÞy»rêëz{bžØ^n‡r¡ûazg¬±¨

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005201c2678c$8cd29ad0$88a8a8c0>