Can't build kernel with ndis

看板FB_stable作者時間12年前 (2013/04/27 13:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
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. Now Ian Lepore suggests adding to kernel config device pccard So I uncommented the device lines for cbb, pccard and cardbus even though my computer has no PCMCIA. I don't know why, this ought to be documented. So the kernel apparently built but would not install due to something related to auditdistd. UPDATING file refers to auditdistd(8) as if it were a man page, but I could find it nowhere, not even the FreeBSD online man pages. I ran mergemaster -p but didn't want to let it destroy my master.passwd, so I would up adding auditdistd user line with vi editor. But the kernel still wouldn't install. Now I am at an impasse. Maybe wait until 9.1 is really released? Tom _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrlsBS (FB_stable)
文章代碼(AID): #1HUrlsBS (FB_stable)