Subject: Re: pcmcia modem problem on -current
To: None <tech-kern@netbsd.org>
From: Ja'far Railton <zen25058@zen.co.uk>
List: tech-kern
Date: 06/02/2005 20:04:19
> I think your problem might be in the changes in sys/dev/pci/pccbb.c. Can
> you try to compile a current kernel with pccbb.c from 2.0.2?
>=20
> christos
>=20
Thanks for your reply christos. This fails with=20


/home/jr0/src/../tools/bin/i386--netbsdelf-gcc -march=3Dpentium3 -O2 -pipe =
-ffreestanding -march=3Dpentium3 -O2 -pipe -Werror -Wall -Wno-main -Wno-for=
mat-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -W=
return-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare=
 -fno-zero-initialized-in-bss -Di386 -I. -I/home/jr0/src/sys/arch -I/home/j=
r0/src/sys -nostdinc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/home/=
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 -march=3Dpentium3 -O2 -pipe -Werror -Wall -Wno-main -Wno-for=
mat-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -W=
return-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare=
 -fno-zero-initialized-in-bss -Di386 -I. -I/home/jr0/src/sys/arch -I/home/j=
r0/src/sys -nostdinc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/home/=
jr0/src/sys/dist/ipf -c /home/jr0/src/sys/dev/pci/pccbb.c

*** 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 -m=
arch=3Dpentium3 -O2 -pipe -Werror -Wall -Wno-main -Wno-format-zero-length -=
Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswi=
tch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initia=
lized-in-bss -Di386 -I. -I/home/jr0/src/sys/arch -I/home/jr0/src/sys -nostd=
inc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/home/jr0/src/sys/dist/=
ipf -c /home/jr0/src/sys/dev/pci/pccbb.c; /home/jr0/src/../tools/bin/i386--=
netbsdelf-gcc -march=3Dpentium3 -O2 -pipe -ffreestanding -march=3Dpentium3 =
-O2 -pipe -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -=
Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wc=
ast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Di=
386 -I. -I/home/jr0/src/sys/arch -I/home/jr0/src/sys -nostdinc -DLKM -DMAXU=
SERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/home/jr0/src/sys/dist/ipf -c /home/jr0=
/src/sys/dev/pci/pccbb.c
*** Error code 1

Stop.
nbmake: stopped in /home/jr0/obj/sys/arch/i386/compile/EXP
--=20
Well done!