Problems building ndis the old way (was: (No Subject))

Fabian Keil freebsd-listen at fabiankeil.de
Sat Jul 30 19:41:42 GMT 2005


Bekir Alpaydin <bekir at bekir.nl> wrote:

> I'm using the acer ferrari 3000 with includes a broadcom 
> wireless NIC.
> I've followed the instructions on 
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-
> August/056835.html
> . 
> 
> I'm using Freebsd 5.4 with all the ports updated woth 
> CURRENT and all the sources
> installed.
> I'm using the bcmwl5.SYS and bcmwl5.inf windows drivers 
> for NDIS. the INF file is
> a unicode file, I've convert this
> to ASII file.
> 
> When I am at the following step:
> 
>   Finally you need to build the if_ndis module. This 
> requires that you 
>   have got the drivers for your NIC availeable.
> 
>    # cd /sys/modules/if_ndis << this give no errors
>    # ndiscvt -i bcmwl5.inf -s bcmwl5.sys \
>    -o ndis_driver_data.h << this give no errors
>    [long output snipped]
>    # make <<This gives an error:
> 
> /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:49
> 3: error: `drv_data' undeclared
> (first use in this function)
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/if_ndis.
> 
> I got the error above when I want to try to make. I've 
> googled hours and hours for
> a week, but I got the error.

The instructions you use are outdated.
Try /usr/sbin/ndisgen.

Before reporting back, please read: 
<http://www.lemis.com/questions.html>

Fabian
-- 
http://www.fabiankeil.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20050730/7bd882aa/attachment.bin


More information about the freebsd-mobile mailing list