Subject: ndis compilation error
To: None <current-users@NetBSD.org>
From: =?iso-8859-2?Q?Kulcs=E1r_Ferenc?= <crusader@netbsd.hu>
List: current-users
Date: 09/05/2006 19:55:37
Hello,

trying to compile -current with the ndis network driver fails with:

#   compile  GENERIC.MP/if_ndis.o
cc -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 -Wno-pointer-sign -Wno-attributes -fno-strict-aliasing
-Di386 -I. -I../../../../contrib/dev/ath/netbsd
-I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc
-DLKM -DCOMPAT_NDIS -DIPFILTER_LOOKUP -DMAXUSERS=32 -D_KERNEL
-D_KERNEL_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/i386/string
-I../../../../dist/ipf -c ../../../../dev/if_ndis/if_ndis.c
cc1: warnings being treated as errors
../../../../dev/if_ndis/if_ndis.c: In function 'ndis_ticktask':
../../../../dev/if_ndis/if_ndis.c:2405: warning: 'bs' may be used
uninitialized in this function
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/i386/compile/GENERIC.MP

Any hints?

TIA
Feri