Date: Wed, 19 Apr 2000 11:04:48 -0700 From: Kent Stewart <kstewart@3-cities.com> To: Arcady Genkin <antipode@soup.thpoon.com> Cc: freebsd-questions@freebsd.org Subject: Re: kernel compilation problems on 4.0 Message-ID: <38FDF540.8A00238E@3-cities.com> References: <20000419073709.A531@soup.thpoon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38FDF540.8A00238E>