From owner-freebsd-current Sat Aug 12 22:51: 7 2000 Delivered-To: freebsd-current@freebsd.org Received: from guru.mired.org (zoom0-111.telepath.com [216.14.0.111]) by hub.freebsd.org (Postfix) with SMTP id B24C537B5CB for ; Sat, 12 Aug 2000 22:50:33 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 7548 invoked by uid 100); 13 Aug 2000 05:49:54 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14742.14082.837564.871879@guru.mired.org> Date: Sun, 13 Aug 2000 00:49:54 -0500 (CDT) To: Idea Receiver Cc: freebsd-current@FreeBSD.ORG Subject: fail to compile kernel... In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Idea Receiver writes: > i have try to upgrade one of my 4.1 release to -current. > however, when i try to build the kernel, it failed as following > message. The nasty downside of the the module system is that people who don't adequately test module code before checking it in will screw up kernel builds for kernels that don't need that code. Since you probably don't need the oldcard module. Just comment it out of /usr/src/sys/modules/Makefile, and rebuild the kernel. You may want to comment out pccard as well. ===> oldcard > cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ > -I@/../include -mpreferred-stack-boundary=2 -c > /mnt/ad4s1e/FreeBSD-CURRENT/src/sys/modules/oldcard/../../pccard/pccard.c > cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ > -I@/../include -mpreferred-stack-boundary=2 -c > /mnt/ad4s1e/FreeBSD-CURRENT/src/sys/modules/oldcard/../../pccard/pcic.c > /mnt/ad4s1e/FreeBSD-CURRENT/src/sys/modules/oldcard/../../pccard/pcic.c:1020: > `card_get_memory_offset_desc' undeclared here (not in a function) > /mnt/ad4s1e/FreeBSD-CURRENT/src/sys/modules/oldcard/../../pccard/pcic.c:1020: > initializer element is not constant > /mnt/ad4s1e/FreeBSD-CURRENT/src/sys/modules/oldcard/../../pccard/pcic.c:1020: > (near initialization for `pcic_methods[16].desc') > *** Error code 1 > > Stop in /mnt/ad4s1e/FreeBSD-CURRENT/src/sys/modules/oldcard. > *** Error code 1 > > Stop in /mnt/ad4s1e/FreeBSD-CURRENT/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/mnt/ad4s1e/FreeBSD-CURRENT/src/sys/WHITESUN-LWY-00. > *** Error code 1 > > Stop in /mnt/ad4s1e/FreeBSD-CURRENT/src. > *** Error code 1 > > Stop in /mnt/ad4s1e/FreeBSD-CURRENT/src. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message