Date: Wed, 26 Dec 2012 05:35:08 -0500 From: "Thomas Mueller" <mueller23@insightbb.com> To: freebsd-stable@freebsd.org Subject: Can't build kernel with ndis Message-ID: <8A.59.25232.CD2DAD05@smtp01.insight.synacor.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8A.59.25232.CD2DAD05>