Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-26 Thread Michael Harnois

On Sat, 25 Nov 2000 18:01:33 -0500 (EST), Bosko Milekic [EMAIL PROTECTED] 
said:

   jlemon, I think you may want to remove the include for
 sys/mbuf.h in if_var.h if it isn't needed (try) -- I think this
 is what may be screwing up netstat.

OK, I think I have it now. Remove sys/mbuf.h and change
machine/mutex.h to sys/mutex.h.

-- 
Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
[EMAIL PROTECTED]  [EMAIL PROTECTED] 
 "Times are bad. Children no longer obey their parents, 
  and everyone is writing a book." -- Marcus Tullius Cicero


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



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-26 Thread Jonathan Lemon

On Sun, Nov 26, 2000 at 01:06:12PM -0600, Michael Harnois wrote:
 On 26 Nov 2000 12:48:48 -0600, Michael Harnois [EMAIL PROTECTED] said:
 
  OK, I think I have it now. Remove sys/mbuf.h and change
  machine/mutex.h to sys/mutex.h.
 
 Except that the kernel won't build if sys/mbuf.h isn't included. Oh well.

Yes;  I"m testing a fix with:

#ifdef _KERNEL
#include sys/mbuf.h
#endif /* _KERNEL */
#include sys/mutex.h

My machines are churning through a make world right now..
--
Jonathan


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



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-26 Thread Alfred Perlstein

* Jonathan Lemon [EMAIL PROTECTED] [001126 11:18] wrote:
 On Sun, Nov 26, 2000 at 01:06:12PM -0600, Michael Harnois wrote:
  On 26 Nov 2000 12:48:48 -0600, Michael Harnois [EMAIL PROTECTED] said:
  
   OK, I think I have it now. Remove sys/mbuf.h and change
   machine/mutex.h to sys/mutex.h.
  
  Except that the kernel won't build if sys/mbuf.h isn't included. Oh well.
 
 Yes;  I"m testing a fix with:
 
   #ifdef _KERNEL
   #include sys/mbuf.h
   #endif /* _KERNEL */
   #include sys/mutex.h
 
 My machines are churning through a make world right now..

Ick, shouldn't it just be required that one include sys/mbuf.h before
this include file?

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


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



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-26 Thread Jonathan Lemon

On Sun, Nov 26, 2000 at 11:23:45AM -0800, Alfred Perlstein wrote:
 * Jonathan Lemon [EMAIL PROTECTED] [001126 11:18] wrote:
  On Sun, Nov 26, 2000 at 01:06:12PM -0600, Michael Harnois wrote:
   On 26 Nov 2000 12:48:48 -0600, Michael Harnois [EMAIL PROTECTED] said:
   
OK, I think I have it now. Remove sys/mbuf.h and change
machine/mutex.h to sys/mutex.h.
   
   Except that the kernel won't build if sys/mbuf.h isn't included. Oh well.
  
  Yes;  I"m testing a fix with:
  
  #ifdef _KERNEL
  #include sys/mbuf.h
  #endif /* _KERNEL */
  #include sys/mutex.h
  
  My machines are churning through a make world right now..
 
 Ick, shouldn't it just be required that one include sys/mbuf.h before
 this include file?

Probably, but I want to unbreak -current quickly.  :-(
--
Jonathan


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



world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-25 Thread Steve Kargl

=== usr.bin/netstat
cc -O -pipe -Wall -DIPSEC -DINET6 -DIPSEC   -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.bin/netstat/if.c
In file included from /usr/obj/usr/src/i386/usr/include/net/if_var.h:78,
 from /usr/src/usr.bin/netstat/if.c:49:
/usr/obj/usr/src/i386/usr/include/sys/mbuf.h:120: `MSIZE' undeclared here (not in a 
function)
/usr/obj/usr/src/i386/usr/include/sys/mbuf.h:120: size of array `MH_databuf' has 
non-integer type
/usr/obj/usr/src/i386/usr/include/sys/mbuf.h:123: `MSIZE' undeclared here (not in a 
function)
/usr/obj/usr/src/i386/usr/include/sys/mbuf.h:123: size of array `M_databuf' has 
non-integer type
/usr/obj/usr/src/i386/usr/include/sys/mbuf.h:239: `MCLBYTES' undeclared here (not in a 
function)
*** Error code 1

Stop in /usr/src/usr.bin/netstat.
*** Error code 1


Sources are from today at 10:27 PST.
-- 
Steve


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



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-25 Thread Bosko Milekic


  No biggie guys...

  jlemon, I think you may want to remove the include for sys/mbuf.h in
  if_var.h if it isn't needed (try) -- I think this is what may be screwing
  up netstat.

  Sorry, Steve, for this inconvenience, but this stuff does occasionally
  happen in -CURRENT. :-)


On Sat, 25 Nov 2000, Steve Kargl wrote:

 === usr.bin/netstat
 cc -O -pipe -Wall -DIPSEC -DINET6 -DIPSEC   -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.bin/netstat/if.c
 In file included from /usr/obj/usr/src/i386/usr/include/net/if_var.h:78,
  from /usr/src/usr.bin/netstat/if.c:49:
 /usr/obj/usr/src/i386/usr/include/sys/mbuf.h:120: `MSIZE' undeclared here (not in a 
function)
 /usr/obj/usr/src/i386/usr/include/sys/mbuf.h:120: size of array `MH_databuf' has 
non-integer type
 /usr/obj/usr/src/i386/usr/include/sys/mbuf.h:123: `MSIZE' undeclared here (not in a 
function)
 /usr/obj/usr/src/i386/usr/include/sys/mbuf.h:123: size of array `M_databuf' has 
non-integer type
 /usr/obj/usr/src/i386/usr/include/sys/mbuf.h:239: `MCLBYTES' undeclared here (not in 
a function)
 *** Error code 1
 
 Stop in /usr/src/usr.bin/netstat.
 *** Error code 1
 
 
 Sources are from today at 10:27 PST.
 -- 
 Steve

  Cheers,
  Bosko Milekic
  [EMAIL PROTECTED]




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



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-25 Thread Michael Harnois

On Sat, 25 Nov 2000 18:01:33 -0500 (EST), Bosko Milekic [EMAIL PROTECTED] 
said:

   jlemon, I think you may want to remove the include for
 sys/mbuf.h in if_var.h if it isn't needed (try) -- I think this
 is what may be screwing up netstat.

I tried your suggestion and it got me past the problem I was having in
kerberosIV (same error as Steve, different place) but stopped here:

=== libncp
cc -O -pipe -march=i686 -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/lib/libncp/ipx.c -o ipx.o
In file included from /usr/src/lib/libncp/ipx.c:41:
/usr/obj/usr/src/i386/usr/include/net/if_var.h:95: field `ifq_mtx' has incomplete type


-- 
Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
[EMAIL PROTECTED]  [EMAIL PROTECTED] 
 "Any movement in history which attempts to perpetuate itself, 
 becomes reactionary." -- Josip Broz Tito


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