From owner-freebsd-current Thu Dec 30 0:14:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from mta3.snfc21.pbi.net (mta3.snfc21.pbi.net [206.13.28.141]) by hub.freebsd.org (Postfix) with ESMTP id 4D389150F8 for ; Thu, 30 Dec 1999 00:14:55 -0800 (PST) (envelope-from gdinolt@pacbell.net) Received: from pacbell.net ([207.214.211.20]) by mta3.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FNJ0030PO875M@mta3.snfc21.pbi.net> for current@freebsd.org; Thu, 30 Dec 1999 00:14:43 -0800 (PST) Date: Thu, 30 Dec 1999 00:14:30 -0800 From: "George W. Dinolt" Subject: Re: -current buildworld dies, retch. To: current@freebsd.org Message-id: <386B1466.FAE3D68B@pacbell.net> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.5 i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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 #ifndef __NetBSD__ # ifdef __FreeBSD__ ! # define KERNEL # endif # include # ifdef __FreeBSD__ ! # undef KERNEL # endif #else # include --- 48,58 ---- #include #ifndef __NetBSD__ # ifdef __FreeBSD__ ! # define _KERNEL # endif # include # ifdef __FreeBSD__ ! # undef _KERNEL # endif #else # include To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message