Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Prb with build XEN3_DOM0 kernel and wmi driver

Hi all,

i'm trying to compile new Xen3 dom0 kernel with wmi wifi networkcard. But i
have this error message :

--- if_iwn.o ---
/usr/src/../tools/bin/i386--netbsdelf-gcc -ffreestanding -fno-zero-initialized-in-bss -march=i686 -O2 -std=gnu99 -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 -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 -Werror -march=i686 -Di386 -I. -I/usr/obj/sys/arch/i386/compile/XEN3_DOM0_ZAT/xen-ma -I/usr/src/sys/contrib/dev/ath/netbsd -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMSGBUFSIZE=24576 -DMAXUSERS=32 -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 -c /usr/src/sys/dev/pci/if_iwn.c
cc1: warnings being treated as errors
/usr/src/sys/dev/pci/if_iwn.c: In function 'iwn_attach':
/usr/src/sys/dev/pci/if_iwn.c:389: warning: passing argument 3 of 'pmf_device_register1' from incompatible pointer type
/usr/src/sys/dev/pci/if_iwn.c: In function 'iwn_radiotap_attach':
/usr/src/sys/dev/pci/if_iwn.c:448: warning: unused variable 'ifp'
*** [if_iwn.o] Error code 1
--- if_iwi.o ---
--- if_ipw.o ---
1 error

nbmake: stopped in /usr/obj/sys/arch/i386/compile/XEN3_DOM0_ZAT

ERROR: Failed to make all in /usr/src/../obj/sys/arch/i386/compile/XEN3_DOM0_ZAT

Some clues to resolv this ? I'm on current 4.99.55 version ? Bu if i compile this in "normal" kernel, it works.


Home | Main Index | Thread Index | Old Index