From owner-freebsd-questions Wed Apr 19 4:37:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from soup.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.114.152.71]) by hub.freebsd.org (Postfix) with SMTP id B5A9F37BC5B for ; Wed, 19 Apr 2000 04:37:10 -0700 (PDT) (envelope-from antipode@soup.thpoon.com) Received: (qmail 584 invoked by uid 1001); 19 Apr 2000 11:37:09 -0000 Date: Wed, 19 Apr 2000 07:37:09 -0400 From: Arcady Genkin To: freebsd-questions@freebsd.org Subject: kernel compilation problems on 4.0 Message-ID: <20000419073709.A531@soup.thpoon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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