You are not logged in.

#1 2011-04-04 12:13:49

MrHarper
Member
Registered: 2011-04-04
Posts: 1

Broadcom wireless driver compile error

Hi all. I was a lifelong Windows user until yesterday when a core driver corrupted for no conceivable reason and I got locked out of my system. I bit the bullet and install a Linux distribution, choosing Fedora as it seemed like a good place to start. My only previous Linux experience aside from through SSH (to manage web projects and an IRC network I once ran) is with Ubuntu, and I have never really liked it. Fedora was better but I couldn't get rid of this stupid little icon thing in the top-right corner, and the login screen is all wrong. As you can tell, I am a perfectionist and control freak, and I like my computer to do what I tell it to do, a courtesy that Windows rarely grants me.

Anyway, I jumped into the deep end and installed Arch x64, and after endless typing, troubleshooting and shouting (mostly shouting) for most of the past ten hours, all I've managed to do is install it and my display drivers, get X window or GNOME or whatever the hell I have running, and find this forum.

And I absolutely love it.

My top priority now is to get my wireless adapter working so I can move away from the router. It's a Broadcom BCM4313 built into my laptop. I downloaded the official 64 bit linux drivers from http://www.broadcom.com/support/802.11/linux_sta.php, but when I try to compile I get this error:

[root@HARPER Desktop]# mkdir broadcom
[root@HARPER Desktop]# mv hybrid-portsrc_x86_64-v5_100_82_38.tar.gz broadcom
[root@HARPER Desktop]# cd broadcom
[root@HARPER broadcom]# ls
hybrid-portsrc_x86_64-v5_100_82_38.tar.gz
[root@HARPER broadcom]# tar -zxvf hybrid-portsrc_x86_64-v5_100_82_38.tar.gz
Makefile
lib/
lib/wlc_hybrid.o_shipped
lib/LICENSE.txt
src/
src/wl/
src/wl/sys/
src/wl/sys/wl_dbg.h
src/wl/sys/wl_export.h
src/wl/sys/wl_iw.c
src/wl/sys/wl_iw.h
src/wl/sys/wlc_pub.h
src/wl/sys/wl_linux.c
src/wl/sys/wlc_types.h
src/wl/sys/wl_linux.h
src/wl/sys/wlc_key.h
src/include/
src/include/proto/
src/include/proto/802.11.h
src/include/proto/802.1d.h
src/include/proto/bcmeth.h
src/include/proto/bcmevent.h
src/include/proto/ethernet.h
src/include/proto/wpa.h
src/include/packed_section_start.h
src/include/linux_osl.h
src/include/wlioctl.h
src/include/osl.h
src/include/typedefs.h
src/include/packed_section_end.h
src/include/epivers.h
src/include/bcmdefs.h
src/include/bcmutils.h
src/include/bcmcdc.h
src/include/bcmendian.h
src/include/pcicfg.h
src/include/bcmwifi.h
src/include/linuxver.h
src/shared/
src/shared/linux_osl.c
[root@HARPER broadcom]# ls
hybrid-portsrc_x86_64-v5_100_82_38.tar.gz  lib    Makefile  src
[root@HARPER broadcom]# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-2.6.37-ARCH'
  LD      /root/Desktop/broadcom/built-in.o
  CC [M]  /root/Desktop/broadcom/src/shared/linux_osl.o
  CC [M]  /root/Desktop/broadcom/src/wl/sys/wl_linux.o
/root/Desktop/broadcom/src/wl/sys/wl_linux.c: In function ‘wl_attach’:
/root/Desktop/broadcom/src/wl/sys/wl_linux.c:485:3: error: implicit declaration of function ‘init_MUTEX’
make[2]: *** [/root/Desktop/broadcom/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/root/Desktop/broadcom] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.37-ARCH'
make: *** [all] Error 2

error: implicit declaration of function ‘init_MUTEX’

This doesn't give any indication (to a newbie like myself) of what's wrong or where to even begin attempting to fix it. Google reveals little more than other people asking the same question. Can anybody point me in the right direction? Thanks in advance.

Offline

#2 2011-04-04 14:15:10

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Broadcom wireless driver compile error

According to the wiki https://wiki.archlinux.org/index.php/Broadcom_wireless your wireless card should be supported by the current kernel.

Offline

Board footer

Powered by FluxBB