Subject: Re: current kernel build fails in sys/dev/ic/com.c
To: None <current-users@NetBSD.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: current-users
Date: 07/20/2006 11:41:24
I suspect you have not done a full and complete CVS update.  There were
changes in the com driver which require a full update to the kernel source.

    -- Garrett

oliver gould wrote:
> With up-to-date sources, I get the following errors:
>
> ===> build.sh command: ./build.sh -u -U -O ../obj -T
> ../obj/tooldir.NetBSD-3.99.20-i386 kernel=ENCANTA
> ===> build.sh started: Thu Jul 20 13:32:17 EDT 2006
> [...]
> #   compile  ENCANTA/com.o
> /usr/src/../obj/tooldir.NetBSD-3.99.20-i386/bin/i386--netbsdelf-gcc
> -ffreestanding -fno-zero-initialized-in-bss -O2 -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
> -Wno-sign-compare -Di386 -I. -I/usr/src/sys/../common/include
> -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DUCONSOLE -DMAXUSERS=8
> -D_KERNEL -D_KERNEL_OPT
> -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
> -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string
> -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string
> -I/usr/src/sys/dist/pf -I/usr/src/sys/dist/ipf -c
> /usr/src/sys/dev/ic/com.c
> /usr/src/sys/dev/ic/com.c: In function `com_config':
> /usr/src/sys/dev/ic/com.c:597: error: `iot' undeclared (first use in
> this function)
> /usr/src/sys/dev/ic/com.c:597: error: (Each undeclared identifier is
> reported only once
> /usr/src/sys/dev/ic/com.c:597: error: for each function it appears in.)
> /usr/src/sys/dev/ic/com.c: In function `com_loadchannelregs':
> /usr/src/sys/dev/ic/com.c:1630: error: `iot' undeclared (first use in
> this function)
>
>   


-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191