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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to