NDISAPI in the kernel

scott renna flexble2547 at yahoo.com
Sun Jan 2 18:29:03 PST 2005

Hello list,

I saw another user post about issues compiling in ndis
support into the kernel for FreeBSD 5.3.  I'm also
having an issue.  I've gotten both if_ndis and ndis
kernel modules to load and I have connectivity to the
box, but I'd like to have ndis be permanent.  

I've added the following to my kernel:

options    NDISAPI
device     ndis
device     wlan (this was already present in the

Here's the issue I run into:

MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O
-pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -std=c99  -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ngatm -D_KERNEL -include
opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding
ndis_driver_data.h: No such file or directory
ndis_driver_data.h: No such file or directory
mkdep: compile failed
*** Error code 1

the file, ndis_driver_data.h is present in:


Where else might i put a copy of this file so the
kernel can build itself?



Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 

More information about the freebsd-questions mailing list