From owner-freebsd-current@FreeBSD.ORG Sat Dec 27 10:49:18 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 963E01065670; Sat, 27 Dec 2008 10:49:18 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id F2C188FC1A; Sat, 27 Dec 2008 10:49:17 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Wwxh0_kleiYA:10 a=g_pgGiu8BzUA:10 a=Y6iSiR_W_5Hv__NeUM4A:9 a=WdARFQtYHf7aH_UK1dwA:7 a=9IiQwzOjMe3gi4MwurvqPnjDVoQA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1175111835; Sat, 27 Dec 2008 11:49:15 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sat, 27 Dec 2008 11:51:34 +0100 User-Agent: KMail/1.9.7 References: <20081227100349.GB1815@freebsd.weongyo.org> <49560548.4040406@micom.mng.net> In-Reply-To: <49560548.4040406@micom.mng.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271151.36293.hselasky@c2i.net> Cc: Ganbold , freebsd-usb@freebsd.org Subject: Re: HEADSUP: NDIS USB code has been committed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 10:49:18 -0000 On Saturday 27 December 2008, Ganbold wrote: > Weongyo Jeong wrote: > > Hello, > > > > Just for information. The code for supporting NDIS USB drivers has been > > committed into HEAD. Please tell me if you encounter problems. > > Tried to compile kernel, but gives error. Is it related to your commit? > ... > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE > -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/DEVIL/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/DEVIL > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector > -fstack-protector -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c > In file included from > /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c:60: > @/dev/if_ndis/if_ndisvar.h:121: error: expected specifier-qualifier-list > before 'usbd_xfer_handle' > @/dev/if_ndis/if_ndisvar.h:212: error: expected specifier-qualifier-list > before 'usbd_pipe_handle' > *** Error code 1 > 1 error > *** Error code 2 > ... > Looks like the USB2 NDIS module needs to be decoupled from the default build until further. --HPS