Date: Thu, 30 Dec 1999 00:14:30 -0800 From: "George W. Dinolt" <gdinolt@pacbell.net> To: current@freebsd.org Subject: Re: -current buildworld dies, retch. Message-ID: <386B1466.FAE3D68B@pacbell.net>
next in thread | raw e-mail | index | archive | help
> > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?386B1466.FAE3D68B>