Can't build kernel with ndis
Ian Lepore
freebsd at damnhippie.dyndns.org
Wed Dec 26 14:44:48 UTC 2012
On Wed, 2012-12-26 at 05:35 -0500, Thomas Mueller wrote:
> 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.
Try adding "device pccard"
-- Ian
More information about the freebsd-stable
mailing list