Date: Wed, 19 Apr 2000 07:37:09 -0400 From: Arcady Genkin <antipode@soup.thpoon.com> To: freebsd-questions@freebsd.org Subject: kernel compilation problems on 4.0 Message-ID: <20000419073709.A531@soup.thpoon.com>
next in thread | raw e-mail | index | archive | help
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') *** 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000419073709.A531>