From owner-freebsd-net@FreeBSD.ORG Fri Oct 26 07:46:27 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4C3516A418 for ; Fri, 26 Oct 2007 07:46:27 +0000 (UTC) (envelope-from piotr@mll.pl) Received: from mll.pl (dns1.mll.pl [83.13.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8B84813C4A6 for ; Fri, 26 Oct 2007 07:46:27 +0000 (UTC) (envelope-from piotr@mll.pl) Received: by mll.pl (Qmail, from userid 1001) id 4351F2E03C; Fri, 26 Oct 2007 09:11:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mll.pl (Qmail) with ESMTP id 3D99E2E039 for ; Fri, 26 Oct 2007 09:11:35 +0000 (UTC) Date: Fri, 26 Oct 2007 09:11:35 +0000 (UTC) From: User Piotr To: freebsd-net@freebsd.org Message-ID: <20071026090355.P79148@mll.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Can`t compile iwiNG. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 07:46:27 -0000 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