Re: -current buildworld dies, retch.

1999-12-30 Thread George W. Dinolt


 Otay, please tell me how to fix:

 === usr.sbin/ifmcstat
 cc -O -pipe -DINET6   -I/usr/obj/usr/src/i386/usr/include -c
 /usr/src/usr.sbin/ifmcstat/ifmcstat.c
 gzip -cn /usr/src/usr.sbin/ifmcstat/ifmcstat.8  ifmcstat.8.gz
 /usr/src/usr.sbin/ifmcstat/ifmcstat.c: In function `main':
 /usr/src/usr.sbin/ifmcstat/ifmcstat.c:109: storage size of `arpcom' isn't known


It appears that in the change from "KERNEL" to "_KERNEL" the usage was
not updated in ifmcstat.c. The following patch appears to fix the
problem, (I just completed a make world) and ifmcstat seems to work.
--
diff -c ifmcstat-old/ifmcstat.c ifmcstat/ifmcstat.c
*** ifmcstat-old/ifmcstat.c Wed Dec 29 19:26:58 1999
--- ifmcstat/ifmcstat.c Wed Dec 29 21:59:06 1999
***
*** 48,58 
  #include netinet/in.h
  #ifndef __NetBSD__
  # ifdef   __FreeBSD__
! #  define KERNEL
  # endif
  # include netinet/if_ether.h
  # ifdef   __FreeBSD__
! #  undef  KERNEL
  # endif
  #else
  # include net/if_ether.h
--- 48,58 
  #include netinet/in.h
  #ifndef __NetBSD__
  # ifdef   __FreeBSD__
! #  define _KERNEL
  # endif
  # include netinet/if_ether.h
  # ifdef   __FreeBSD__
! #  undef  _KERNEL
  # endif
  #else
  # include net/if_ether.h


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



Re: -current buildworld dies, retch.

1999-12-30 Thread Peter Wemm

Greg Lehey wrote:
 On Wednesday, 29 December 1999 at 21:54:42 -0700, Russell L. Carter wrote:
 
  Otay, please tell me how to fix:
 
  === usr.sbin/ifmcstat
  cc -O -pipe -DINET6   -I/usr/obj/usr/src/i386/usr/include -c
  /usr/src/usr.sbin/ifmcstat/ifmcstat.c
  gzip -cn /usr/src/usr.sbin/ifmcstat/ifmcstat.8  ifmcstat.8.gz
  /usr/src/usr.sbin/ifmcstat/ifmcstat.c: In function `main':
  /usr/src/usr.sbin/ifmcstat/ifmcstat.c:109: storage size of `arpcom' isn't k
nown
 
 I think for this one you need to find who broke it and make him
 unbreak it.  You may supply a pointy hat.

Heh, there was a crossover of commits.  I did my sweep about 36 hours
before the commit and was cvs updating it as I went.  It seems ifmcstat got
added after the sweep, but wasn't connected to the makefile.  I did
actually do a 'make world' immediately prior to the commit, and ifmcstat was
added to usr.sbin/Makefile after the conversion which broke the build.

date: 1999/12/28 02:37:05;  author: shin;  state: Exp;
Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

date: 1999/12/29 04:24:49;  author: peter;  state: Exp;  lines: +7 -7
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers.

date: 1999/12/29 07:11:50;  author: shin;  state: Exp;  lines: +9 -1
Forgot to add newly added udp and raw IPv6 apps to usr.sbin SUBDIR.
They are confirmed to be buildable and seems to be working.

This is an example of the pitfalls of parallel development.

Cheers,
-Peter



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



-current buildworld dies, retch.

1999-12-29 Thread Russell L. Carter


Otay, please tell me how to fix:

=== usr.sbin/ifmcstat
cc -O -pipe -DINET6   -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.sbin/ifmcstat/ifmcstat.c
gzip -cn /usr/src/usr.sbin/ifmcstat/ifmcstat.8  ifmcstat.8.gz
/usr/src/usr.sbin/ifmcstat/ifmcstat.c: In function `main':
/usr/src/usr.sbin/ifmcstat/ifmcstat.c:109: storage size of `arpcom' isn't known


I have for the last 12h:

1. retried cvsup'ing

build; sleep (2x3600);

2. rm -rf /usr/src ; cvsup standard-supfile ; cd /usr/src ; make world

Thanks,
Russell



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



Re: -current buildworld dies, retch.

1999-12-29 Thread Greg Lehey

On Wednesday, 29 December 1999 at 21:54:42 -0700, Russell L. Carter wrote:

 Otay, please tell me how to fix:

 === usr.sbin/ifmcstat
 cc -O -pipe -DINET6   -I/usr/obj/usr/src/i386/usr/include -c
 /usr/src/usr.sbin/ifmcstat/ifmcstat.c
 gzip -cn /usr/src/usr.sbin/ifmcstat/ifmcstat.8  ifmcstat.8.gz
 /usr/src/usr.sbin/ifmcstat/ifmcstat.c: In function `main':
 /usr/src/usr.sbin/ifmcstat/ifmcstat.c:109: storage size of `arpcom' isn't known

I think for this one you need to find who broke it and make him
unbreak it.  You may supply a pointy hat.

Greg
--
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


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