NDIS not compiled

Anton Nikiforov <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Dear All
I'm trying to start my WiFi adapter under FreeBSD-CURRENT (cvsuped 
today) usinf NDISulator.
I made an ndis_driver_data.h file using
ndiscvt -i bcmwl5a.inf -s bcmwl5.sys -n bcw -o ndis_driver_data.h
(I have even tryed not to use -n option - it is make no sence, and 
currently it is turned off)
Then i edited my kernel configuration file and added
options         NDISAPI
device          ndis
device          wlan
options         KSTACK_PAGES=8
(The last string is taken from one of discussions here, just in case, i 
have even tryed without it the result is the same)

Then cd /usr/src && make buildkernel KERNCONF=PRESARIO produce the 
following error:

cc -c -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/ipfilter -I/usr/src/sys/contrib/pf 
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd 
-I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common 
-finline-limit=8000  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Werror  vers.c
linking kernel
if_ndis_pci.o: In function `ndis_attach_pci':
if_ndis_pci.o(.text+0x55e): undefined reference to `ndis_attach'
if_ndis_pci.o(.data+0xf4): undefined reference to `ndis_detach'
if_ndis_pci.o(.data+0xfc): undefined reference to `ndis_shutdown'
if_ndis_pci.o(.data+0x104): undefined reference to `ndis_suspend'
if_ndis_pci.o(.data+0x10c): undefined reference to `ndis_resume'
*** Error code 1
 
Stop in /usr/obj/usr/src/sys/PRESARIO.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.

Could someone please tell me what i did wrong?

-- 
цЁ ц∙ц≈ц│ц√ц┘ц▌ц┴ц┘ц█ (Best regads),
ц║ц▌ц■ц▐ц▌ ц╝ц┴ц▀ц┴ц├ц▐ц▓ц▐ц≈ (Anton Nikiforov)
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.