NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/42970: Compile Realtek 8185 wireless driver error



>Number:         42970
>Category:       kern
>Synopsis:       Compile Realtek 8185 wireless driver error
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 14 13:00:00 +0000 2010
>Originator:     Abel Morabito
>Release:        5.0.2
>Organization:
Personal
>Environment:
NetBSD  5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 UTC 2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386

>Description:
I'm trying to compile the Realtek 8185 driver for a 802.11b/g 54M Cardbus/PCI 
Wireless LAN Network Adapter. I've taken original drivers from the vendor CDROM 
and followed NetBSD documentation on compiling a new kernel.

# ndiscvt -i net8185.inf -s rtl8185.sys -o ndis_driver_data.h; etc...

This is the error I get at compile time:

cc1: warnings being treated as errors
../../../../dev/if_ndis/if_ndis.c: In function 'ndis_detach':
../../../../dev/if_ndis/if_ndis.c:1187: warning: passing argument 1 of 
'mutex_destroy' from incompatible pointer type
*** Error code 1

Regards,

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index