Date: 19 Apr 2000 15:40:54 -0400 From: Arcady Genkin <a.genkin@utoronto.ca> To: freebsd-questions@FreeBSD.ORG Subject: Re: kernel compilation problems on 4.0 Message-ID: <87aeip3mm1.fsf@tea.thpoon.com> In-Reply-To: Kent Stewart's message of "Wed, 19 Apr 2000 11:04:48 -0700" References: <20000419073709.A531@soup.thpoon.com> <38FDF540.8A00238E@3-cities.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Kent Stewart <kstewart@3-cities.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87aeip3mm1.fsf>