From owner-freebsd-stable@FreeBSD.ORG Wed Dec 26 10:35:16 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C37D4FF8 for ; Wed, 26 Dec 2012 10:35:16 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp1.insight.synacor.com [208.47.185.23]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3298FC14 for ; Wed, 26 Dec 2012 10:35:15 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=AYoz7grG c=1 sm=0 a=Dm9TOXL4taQ+Gy1KovpL+A==:17 a=jLN7EqiLvroA:10 a=9YQ-1ebCAAAA:8 a=BbwyZmbTN3oA:10 a=S3ChV_DLfNiJnN1w-FAA:9 a=Dm9TOXL4taQ+Gy1KovpL+A==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Authentication-Results: smtp01.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Received-SPF: softfail (smtp01.insight.synacor.com: transitional domain insightbb.com does not designate 74.130.198.7 as permitted sender) Received: from [74.130.198.7] ([74.130.198.7:57626] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 8A/59-25232-CD2DAD05; Wed, 26 Dec 2012 05:35:08 -0500 Date: Wed, 26 Dec 2012 05:35:08 -0500 Message-ID: <8A.59.25232.CD2DAD05@smtp01.insight.synacor.com> From: "Thomas Mueller" To: freebsd-stable@freebsd.org Subject: Can't build kernel with ndis X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2012 10:35:16 -0000 I am trying to build FreeBSD update, STABLE branch, and buildkernel apparently snagged on ndis, which I don't want to do without. According to "man ndis", I need in kernel config options NDISAPI device ndis device wlan which I have: device wlan # 802.11 support options NDISAPI # This is in the hope of enabling Hiro USB wireless adapter device ndis Error message, final lines of buildkernel log file, are MAKE=make sh /usr/src/sys/conf/newvers.sh SANDY /usr/local/bin/svnversion cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wred undant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointe r-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wm issing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/usr/src/sys -I /usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_gl obal.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param la rge-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding - fstack-protector -Werror vers.c linking kernel.debug if_ndis.o: In function `ndis_detach': /usr/src/sys/dev/if_ndis/if_ndis.c:1084: undefined reference to `ndis_free_amem' if_ndis.o: In function `ndis_attach': /usr/src/sys/dev/if_ndis/if_ndis.c:563: undefined reference to `ndis_alloc_amem' *** [kernel.debug] Error code 1 Stop in /usr/obj/usr/src/sys/SANDY. *** [buildkernel] Error code 1 Stop in /usr/src. *** [buildkernel] Error code 1 Stop in /usr/src. Tom