Can`t compile iwiNG.

User Piotr piotr at mll.pl
Fri Oct 26 00:46:27 PDT 2007


Hello.

I have Dell Latitude D610 laptop with Intel 2200 wireless card and I have 
FreeBSD 6.2-STABLE system builded from CVS.  iwi driver from system 
doesn`t work, so i search google and found that there is a iwiNG.

I download the 20060418.both_nofw.tgz from 
people.freebsd.org/~mlaier/new_iwi/ and tried to compile this module.

I got error:

cc -O2 -fno-strict-aliasing -pipe -march=pentium-m -Werror -D_KERNEL 
-DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include 
-finline-limit=8000 -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -c 
/usr/src/sys/modules/iwiNG/../../dev/iwiNG/if_iwi.c
/usr/src/sys/modules/iwiNG/../../dev/iwiNG/if_iwi.c: In function 
`iwi_getfw':
/usr/src/sys/modules/iwiNG/../../dev/iwiNG/if_iwi.c:2208: warning: 
assignment discards qualifiers from pointer target type
/usr/src/sys/modules/iwiNG/../../dev/iwiNG/if_iwi.c:2211: warning: 
assignment discards qualifiers from pointer target type
/usr/src/sys/modules/iwiNG/../../dev/iwiNG/if_iwi.c: In function 
`iwi_get_firmware':
/usr/src/sys/modules/iwiNG/../../dev/iwiNG/if_iwi.c:2275: warning: 
assignment discards qualifiers from pointer target type
*** Error code 1

Stop in /usr/src/sys/modules/iwiNG.


I tried all version of this module that is on this site 
people.freebsd.org/~mlaier/new_iwi/ and always got this error.

Someon help me? Any sugestion?

Regards - Piotr


More information about the freebsd-net mailing list