From owner-freebsd-questions Wed Apr 19 11: 5:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (mail.dohboys.com [208.26.253.10]) by hub.freebsd.org (Postfix) with ESMTP id 07EE137B5D5 for ; Wed, 19 Apr 2000 11:05:11 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.241.57]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Wed, 19 Apr 2000 11:15:44 -0700 Message-ID: <38FDF540.8A00238E@3-cities.com> Date: Wed, 19 Apr 2000 11:04:48 -0700 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Arcady Genkin Cc: freebsd-questions@freebsd.org Subject: Re: kernel compilation problems on 4.0 References: <20000419073709.A531@soup.thpoon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arcady Genkin wrote: > > I just upgraded from 3.4-S to 4.0-S. I can't compile kernel the normal > way. After doing "make depend", "make" I get: > > soup:/usr/src/sys/compile/SOUP# make > 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. Kent > *** Error code 1 > > The strange part is that I *can* compile kernel with the *same* config > file by going into /usr/src, and doing "make buildkernel KERNEL=SOUP". > This way the kernel compiles and installs just fine. > > Any idea what's missing? > > Thanks! > p.s. Could you please CC me a reply since my mail setup is a bit screwed > due to IMAP misconfiguration after the upgrade. ;^( > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message