NDIS not compiled

Anton Nikiforov anton at nikiforov.ru
Mon Mar 22 01:25:09 PST 2004


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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3174 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20040322/cf068f5e/smime.bin


More information about the freebsd-mobile mailing list