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

Fabian Keil <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <20050730214146.7f0fd485@localhost>
Bekir Alpaydin <[email protected]> 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/
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFC69gKoomUOj0wp30RAsEeAJ9jWpKkEexFwGg97tkEb37RLgE4swCeK8PK
OPK2tZK+xylsNLm4PTDs+5w=
=WDD4
-----END PGP SIGNATURE-----
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.