Subject: Re: kern/30284
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Ja'far Railton <zen25058@zen.co.uk>
List: netbsd-bugs
Date: 06/05/2005 23:33:02
The following reply was made to PR kern/30284; it has been noted by GNATS.

From: "Ja'far Railton" <zen25058@zen.co.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/30284
Date: Mon, 6 Jun 2005 02:39:17 +0307

 ----- Forwarded message from Ja'far Railton <zen25058@zen.co.uk> -----
 
 On Thu, Jun 02, 2005 at 10:30:55PM +0300, Christos Zoulas wrote:
 >=20
 > Where are the compiler errors?
 
 Sorry, here:
 
 /home/jr0/src/../tools/bin/i386--netbsdelf-gcc -march=3Dpentium3 -O2 -pipe =
 -ffreestanding -g -march=3Dpentium3 -O2 -pipe -Werror -Wall -Wno-main -Wno-=
 format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes=
  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-comp=
 are -fno-zero-initialized-in-bss -Di386 -I. -I/home/jr0/src/sys/arch -I/hom=
 e/jr0/src/sys -nostdinc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/ho=
 me/jr0/src/sys/dist/ipf -c /home/jr0/src/sys/dev/pci/if_tlp_pci.c
 #   compile  EXP/pccbb.o
 /home/jr0/src/../tools/bin/i386--netbsdelf-gcc -march=3Dpentium3 -O2 -pipe =
 -ffreestanding -g -march=3Dpentium3 -O2 -pipe -Werror -Wall -Wno-main -Wno-=
 format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes=
  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-comp=
 are -fno-zero-initialized-in-bss -Di386 -I. -I/home/jr0/src/sys/arch -I/hom=
 e/jr0/src/sys -nostdinc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/ho=
 me/jr0/src/sys/dist/ipf -c /home/jr0/src/sys/dev/pci/pccbb.c
 /home/jr0/src/sys/dev/pci/pccbb.c:246: warning: initialization from incompa=
 tible pointer type
 /home/jr0/src/sys/dev/pci/pccbb.c: In function `pccbbattach':
 /home/jr0/src/sys/dev/pci/pccbb.c:440: error: too few arguments to function=
  `pci_devinfo'
 /home/jr0/src/sys/dev/pci/pccbb.c: In function `cb_reset':
 /home/jr0/src/sys/dev/pci/pccbb.c:1530: warning: declaration of `tick' shad=
 ows a global declaration
 /home/jr0/src/sys/sys/kernel.h:58: warning: shadowed declaration is here
 /home/jr0/src/sys/dev/pci/pccbb.c:1536: warning: declaration of `tick' shad=
 ows a global declaration
 /home/jr0/src/sys/sys/kernel.h:58: warning: shadowed declaration is here
 /home/jr0/src/sys/dev/pci/pccbb.c: In function `pccbb_pcmcia_wait_ready':
 /home/jr0/src/sys/dev/pci/pccbb.c:2379: warning: declaration of `tick' shad=
 ows a global declaration
 /home/jr0/src/sys/sys/kernel.h:58: warning: shadowed declaration is here
 /home/jr0/src/sys/dev/pci/pccbb.c: In function `pccbb_pcmcia_socket_enable':
 /home/jr0/src/sys/dev/pci/pccbb.c:2506: warning: implicit declaration of fu=
 nction `pcmcia_card_gettype'
 
 *** Failed target:  pccbb.o
 *** Failed command: echo '# ' "compile EXP/pccbb.o"; echo /home/jr0/src/../=
 tools/bin/i386--netbsdelf-gcc -march=3Dpentium3 -O2 -pipe -ffreestanding -g=
  -march=3Dpentium3 -O2 -pipe -Werror -Wall -Wno-main -Wno-format-zero-lengt=
 h -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -W=
 switch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-ini=
 tialized-in-bss -Di386 -I. -I/home/jr0/src/sys/arch -I/home/jr0/src/sys -no=
 stdinc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/home/jr0/src/sys/di=
 st/ipf -c /home/jr0/src/sys/dev/pci/pccbb.c; /home/jr0/src/../tools/bin/i38=
 6--netbsdelf-gcc -march=3Dpentium3 -O2 -pipe -ffreestanding -g -march=3Dpen=
 tium3 -O2 -pipe -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-a=
 rith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshad=
 ow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-b=
 ss -Di386 -I. -I/home/jr0/src/sys/arch -I/home/jr0/src/sys -nostdinc -DLKM =
 -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/home/jr0/src/sys/dist/ipf -c /ho=
 me/jr0/src/sys/dev/pci/pccbb.c
 *** Error code 1
 
 Stop.
 nbmake: stopped in /home/jr0/obj/sys/arch/i386/compile/EXP
 
 ERROR: Failed to make all in /home/jr0/src/../obj/sys/arch/i386/compile/EXP
 *** BUILD ABORTED ***
 
 TIA
 --=20
 Well done!
 
 
 ----- End forwarded message -----
 
 --=20
 Well done!