Subject: Re: i386 kernel won't build after the pckbc changes (was: CVS commit: src/sys)
To: Ben Harris <bjh21@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: port-i386
Date: 03/13/2004 23:57:58
On Sat, Mar 13, 2004 at 10:47:29PM +0000, Ben Harris wrote:
> On Sat, 13 Mar 2004, Bernd Ernesti wrote:
> 
> > while runing config:
> >
> > /src/sys/arch/i386/conf/files.i386:223: undefined attribute `pckbport_machdep_cnattach'
> > /src/sys/arch/i386/conf/files.i386:224: undefined attribute `pckbport'
> > /src/sys/dev/pckbport/files.pckbport:8: undefined attribute `pckbport'
> > /src/sys/dev/pckbport/files.pckbport:14: undefined attribute `pckbport'
> 
> Thanks.  For some reason, I didn't have sys/conf/files in my list of files
> that needed committing.  I've fixed that now (rev. 1.659), though I've
> just noticed another bogon in there, which might bite on systems that use
> pcconskbd (none of the default configs).

Ok, that fixed the config problem, now to the next one:

cc -ffreestanding -g -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Di386 -I. -I/src/sys/arch -I/src/sys -nostdinc -DPIC_DELAY -DSHMMNI=256 -DSHMSEG=256 -DLKM -DNMBCLUSTERS=8192 -DMSGBUFSIZE=65536 -DHZ=1024 -DPCMCIACISDEBUG -DUSB_DEBUG -DALTQ_PRIQ -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -c /src/sys/dev/ic/pckbc.c
/src/sys/dev/ic/pckbc.c:82: warning: static declaration for `pckbc_xt_translation' follows non-static
/src/sys/dev/ic/pckbc.c:84: warning: static declaration for `pckbc_slot_enable' follows non-static
/src/sys/dev/ic/pckbc.c:86: warning: static declaration for `pckbc_set_poll' follows non-static
/src/sys/dev/ic/pckbc.c:103: warning: initialization from incompatible pointer type
/src/sys/dev/ic/pckbc.c: In function `pckbc_poll_data1':
/src/sys/dev/ic/pckbc.c:147: error: number of arguments doesn't match prototype
/src/sys/dev/ic/pckbcvar.h:111: error: prototype declaration
/src/sys/dev/ic/pckbc.c: In function `pckbc_get8042cmd':
/src/sys/dev/ic/pckbc.c:209: error: too few arguments to function `pckbc_poll_data1'
/src/sys/dev/ic/pckbc.c: In function `pckbc_attach_slot':
/src/sys/dev/ic/pckbc.c:294: error: structure has no member named `t_pt'
/src/sys/dev/ic/pckbc.c: In function `pckbc_attach':
/src/sys/dev/ic/pckbc.c:324: error: structure has no member named `t_pt'
/src/sys/dev/ic/pckbc.c:325: error: structure has no member named `t_pt'
/src/sys/dev/ic/pckbc.c:331: error: too few arguments to function `pckbc_poll_data1'
/src/sys/dev/ic/pckbc.c:386: error: too few arguments to function `pckbc_poll_data1'
/src/sys/dev/ic/pckbc.c: In function `pckbcintr_soft':
/src/sys/dev/ic/pckbc.c:606: error: structure has no member named `t_pt'
/src/sys/dev/ic/pckbc.c: In function `pckbcintr':
/src/sys/dev/ic/pckbc.c:646: error: structure has no member named `t_pt'
/src/sys/dev/ic/pckbc.c: In function `pckbc_cnattach':
/src/sys/dev/ic/pckbc.c:680: error: too few arguments to function `pckbc_poll_data1'
*** Error code 1

Bernd