Re: current make depend: 'ar_args' has incomplete type help

2002-09-29 Thread suken woo

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¬±¨


Re: current make depend: 'ar_args' has incomplete type help

2002-09-29 Thread Hanspeter Roth

  On Sep 29 at 15:48, suken woo spoke:

 i do it as your indication,but i get cpp core dump

Ok. I must admit I'm a current-newbie.
Maybe I've done wrong assumptions.
I think there are several approaches to a current system.

1. download the current installation floppies and install via ftp
   from scratch. I have no experience how long this would take.

2. download the developer-preview cds and install from scratch. I'm
   now about to download them.

3. upgrade from a 4.6.2-Release or 4-Stable. I first tried from
   4.6.2-Release but I gave up. Then I tried from a 4-Stable. Then I
   realized that the version 3.2 of gcc might be required. (I got
   some compilation errors.) Then I tried buildworld/installworld.
   But I had several core-dumps. Even single `test -e' failed.
   I tried to patch several Makefiles. Finally I managed to
   installworld and installkernel. But then booting hung at apci.ko.
   Asking here on the current list I got no answers from the
   current-gurus.

I'm about to doubt, that the latter attempt is supposed to work at
all.
Thus I'm trying another approach. I'm about to download the 5.0-DP1
images...
(Maybe installing from floppy would take shorer...)

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: current make depend: 'ar_args' has incomplete type help

2002-09-29 Thread Hanspeter Roth

  On Sep 29 at 15:48, suken woo spoke:

 i do it as your indication,but i get cpp core dump

Is there enough free space on /tmp and /usr/obj?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: current make depend: 'ar_args' has incomplete type help

2002-09-29 Thread Hanspeter Roth

  On Sep 29 at 13:56, Hanspeter Roth spoke:

Asking here on the current list I got no answers from the
current-gurus.

Sorry, this is not true...

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: current make depend: 'ar_args' has incomplete type help

2002-09-29 Thread suken woo

Hanspeter Roth wrote:

  On Sep 29 at 15:48, suken woo spoke:

  

i do it as your indication,but i get cpp core dump



Ok. I must admit I'm a current-newbie.
Maybe I've done wrong assumptions.
I think there are several approaches to a current system.

1. download the current installation floppies and install via ftp
   from scratch. I have no experience how long this would take.

2. download the developer-preview cds and install from scratch. I'm
   now about to download them.

3. upgrade from a 4.6.2-Release or 4-Stable. I first tried from
   4.6.2-Release but I gave up. Then I tried from a 4-Stable. Then I
   realized that the version 3.2 of gcc might be required. (I got
   some compilation errors.) Then I tried buildworld/installworld.
   But I had several core-dumps. Even single `test -e' failed.
   I tried to patch several Makefiles. Finally I managed to
   installworld and installkernel. But then booting hung at apci.ko.
   Asking here on the current list I got no answers from the
   current-gurus.

I'm about to doubt, that the latter attempt is supposed to work at
all.
Thus I'm trying another approach. I'm about to download the 5.0-DP1
images...
(Maybe installing from floppy would take shorer...)

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


  

thanks , i just wanna upgrade  from FBSD4.x or 4.x-stable.and i would 
try it again later.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: current make depend: 'ar_args' has incomplete type help

2002-09-28 Thread Hanspeter Roth

  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



current make depend: 'ar_args' has incomplete type help

2002-09-27 Thread wsk


folks:
after succeed buildworld ,i custom mykernel and get the error messages 
from make depend.
help please!
wsk# make depend
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 -g -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/WSK.
*** Error code 1
 
Stop in /usr/src/sys/i386/compile/WSK.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message