Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2004 12:22:13 +0300
From:      Anton Nikiforov <anton@nikiforov.ru>
To:        freebsd-current@freebsd.org
Subject:   NDIS not compiled
Message-ID:  <405EB045.80809@nikiforov.ru>

next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms060003040904000200080402
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 8bit

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)


--------------ms060003040904000200080402
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII7TCC
AtEwggI6oAMCAQICAwvaFTANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwMzA1MjExMjI4WhcNMDUwMzA1MjExMjI4
WjBEMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSEwHwYJKoZIhvcNAQkBFhJh
bnRvbkBuaWtpZm9yb3YucnUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC1Ps7E
cf3xTnaY72Aip/U5HeUmGwQ6QmbCjMcqS3XfO6EsA+5ol526JvhQ1XStpDX/kh8R8MDELUJD
SVooXFiDInspw5tmPOlXV1C60xH4VWf5Gh+2y3yDGzHyWBAalul7LbhC1p8zDNUA12pAu4Ry
1k1A0Yepomr8CRbh/Z9JryfJcqHYDL+z1qgLzQlpJsao9E3Zld5ZfgJPORcFoRB7Z6jvqVLh
pLNmSrvfDbSw6WK/K9EbZT9zlOTlmOnt4uLBy3hKZMcvkaFrYVYTRXLMegJHFPAp3sxLYef2
iW9fEUKgrs4W7d5c8UWlmiGurVt1Xdzc58W8X3vekMLqu9elAgMBAAGjLzAtMB0GA1UdEQQW
MBSBEmFudG9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pirhck+CPckyTxnAGhGp
KbuikC7hvgHW3gdn90FXvzwQaK89rcGK4Cgv3QtPFGVIgx2DEOE8iGeGFxhx4sa7CpI47Ppw
JB+KW8gQGlnjGS6dmhFnhQ8L957ah2OMKjs7lGvPwyI/+70kP+QQv+ZF2hFdUdAcZs9wU0Tx
tGvB4Xs46CTsajxSikg9ujTB/TXa8iyTENsx6TsXtZAj1nAqYhsTMMRijiZNn1sF7fKA0BQt
7VsDbf/BMDm2y1inOYC1bdf5e1Qo1afMyY7VmUP4jylkApjTAAAAAAAA
--------------ms060003040904000200080402--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405EB045.80809>