Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2000 00:49:54 -0500 (CDT)
From:      Mike Meyer <mwm@mired.org>
To:        Idea Receiver <receiver@RedDust.BlueSky.net.au>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   fail to compile kernel...
Message-ID:  <14742.14082.837564.871879@guru.mired.org>
In-Reply-To: <Pine.BSF.4.10.10008131504560.77390-100000@RedDust.BlueSky.net.au>
References:  <Pine.BSF.4.10.10008131504560.77390-100000@RedDust.BlueSky.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

	<mike

> ===> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14742.14082.837564.871879>