trouble building 'ndis' device driver into stripped-down custom
bonomi at mail.r-bonomi.com
Mon Sep 10 19:42:58 UTC 2012
> Date: Mon, 10 Sep 2012 15:32:30 -0400
> Subject: Re: trouble building 'ndis' device driver into stripped-down custom kernel.
> From: Gardner Bell <gardnerbell at gmail.com>
> On 10 September 2012 15:23, Robert Bonomi <bonomi at mail.r-bonomi.com>
> > Enviorment is FreeBSD 8.3, i386
> > I'm currently running a stipped-down custom kernal with all superfluous
> > devices/options removed.
> > I'm trying to add the 'ndis' device back in, but when I follow the
> > directions on the ndis(4) manpage, and add:
> > options NDISAPI device ndis
> Is device wlan still part of your config ?
Yup. I'm just changing which wireless card I'm using.
Thanks for the thought.
> > and try to re-compile the kernel (config, cd, make depend, make),
> > linking fails, with:
> > if_ndis.o(.text+0x1104): In function 'ndis_detach':
> > : undefined reference to 'ndis_free_amem'
> > if_ndis.o(.text+0x1194): In function 'ndis_attach':
> > : undefined reference to 'ndis_alloc_amem'
> > Obviously, the config file is missing 'something' -- does anybody have
> > any ideat _what_ that something is?
More information about the freebsd-questions