Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2005 21:41:46 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Bekir Alpaydin <bekir@bekir.nl>
Cc:        freebsd-mobile@freebsd.org
Subject:   Problems building ndis the old way (was: (No Subject))
Message-ID:  <20050730214146.7f0fd485@localhost>
In-Reply-To: <cd24a9e8.2324ca76.81b8100@imap01.bwc.eu.blackberry.com>
References:  <cd24a9e8.2324ca76.81b8100@imap01.bwc.eu.blackberry.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Bekir Alpaydin <bekir@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/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFC69gKoomUOj0wp30RAsEeAJ9jWpKkEexFwGg97tkEb37RLgE4swCeK8PK
OPK2tZK+xylsNLm4PTDs+5w=
=WDD4
-----END PGP SIGNATURE-----

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