>
> 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