NDIS not compiled

From: Anton Nikiforov <anton_at_nikiforov.ru>
Date: Mon, 22 Mar 2004 12:22:13 +0300
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)


Received on Mon Mar 22 2004 - 00:24:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC