From owner-freebsd-questions Wed Apr 19 12:41: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.rdc3.on.home.com (mail2.rdc3.on.home.com [24.2.9.41]) by hub.freebsd.org (Postfix) with ESMTP id 92F5B37BD27 for ; Wed, 19 Apr 2000 12:40:56 -0700 (PDT) (envelope-from antipode@thpoon.com) Received: from tea.thpoon.com ([24.114.152.71]) by mail2.rdc3.on.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000419194054.LLYG910.mail2.rdc3.on.home.com@tea.thpoon.com> for ; Wed, 19 Apr 2000 12:40:54 -0700 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 12i0LG-0000Lq-00 for ; Wed, 19 Apr 2000 15:40:54 -0400 To: freebsd-questions@FreeBSD.ORG Subject: Re: kernel compilation problems on 4.0 References: <20000419073709.A531@soup.thpoon.com> <38FDF540.8A00238E@3-cities.com> X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: thpoon.com From: Arcady Genkin Date: 19 Apr 2000 15:40:54 -0400 In-Reply-To: Kent Stewart's message of "Wed, 19 Apr 2000 11:04:48 -0700" Message-ID: <87aeip3mm1.fsf@tea.thpoon.com> Lines: 34 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kent Stewart writes: > > cc -c -O -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- > > -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h > > -elf -mpreferred-stack-boundary=2 ../../dev/mii/mii.c > > ../../dev/mii/mii.c:80: `bus_driver_added_desc' undeclared here (not in a function) > > ../../dev/mii/mii.c:80: initializer element is not constant > > ../../dev/mii/mii.c:80: (near initialization for `miibus_methods[5].desc') > Re-add the miibus or delete the NIC's in the uses miibus section that > you aren't using. Well, miibus is enabled. I am using a rl0 device. Here's the relevant snippet from my kernel config file: ,----[ SOUP ] | # PCI Ethernet NICs that use the common MII bus controller code. | device miibus # MII bus support | device rl # RealTek 8129/8139 | | device ed0 # I have a PCI N2K nic `---- All other NICs are commented out. Also, how would you explain that the kernel builds with the *same* configuration file using "make buildkernel KERNEL=SOUP" from /usr/src, and fails to build the usual way? Thanks for any ideas, -- Arcady Genkin http://www.thpoon.com Nostalgia isn't what it used to be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message