i do it as your indication,but i get cpp core dump
----- Original Message ----- 
From: "Hanspeter Roth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
> 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¬±¨


Reply via email to