From owner-freebsd-questions@FreeBSD.ORG Tue Sep 22 19:22:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E9A61065672 for ; Tue, 22 Sep 2009 19:22:43 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 18A078FC14 for ; Tue, 22 Sep 2009 19:22:42 +0000 (UTC) Received: (qmail 8266 invoked from network); 22 Sep 2009 19:22:42 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Sep 2009 19:22:42 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 14C15508B0; Tue, 22 Sep 2009 15:22:41 -0400 (EDT) From: Lowell Gilbert To: Scott Bennett References: <200909221111.n8MBBr07014335@mp.cs.niu.edu> Date: Tue, 22 Sep 2009 15:22:40 -0400 In-Reply-To: <200909221111.n8MBBr07014335@mp.cs.niu.edu> (Scott Bennett's message of "Tue, 22 Sep 2009 06:11:53 -0500 (CDT)") Message-ID: <44hbuu6ayn.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: /sys/modules/mii/nsgphy.c compilation errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 19:22:43 -0000 Scott Bennett writes: > An update committed since Friday appears to have broken mii/nsgphy.c > in the kernel. When I try to build a kernel now, I get the following errors > during the compilations of mii/nsgphy.c. > > /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 'MII_MODEL_NATSEMI_DP83865' undeclared here (not in a function) > /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 'MII_STR_NATSEMI_DP83865' undeclared here (not in a function) > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > > Having run cvsup just a few minutes ago and then having tried again to > build a kernel, I see that the errors persist. Is this something that someone > is already fixing? Or should I try to submit a PR? You don't mention which branch you're on, but it sounds like it's probably a local issue for your installation. I built and installed from the latest RELENG_7 today, and there are new bug reports on RELENG_8 since Friday. Those failing identifiers *are* present in the correct sources; it looks like your miidevs.h isn't being regenerated properly. You *are* remembering to do a buildworld before a buildkernel, right? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/