You are not logged in.

#1 2012-03-22 05:43:10

MarkZar
Member
Registered: 2012-03-19
Posts: 21

[SOLVED]error when installing bcm4311 driver

i have downloaded the 32bit BCM43 driver here:http://www.broadcom.com/support/802.11/linux_sta.php

then extract the files into a folder, enter that folder, and then make, error occurred:

make: *** No targets specified and no makefile found.  Stop.

i have read the README file, and it said that

If you try to build this module but get an error message that looks like 
this:

make: *** /lib/modules/"release"/build: No such file or directory. Stop.

Then you do not have the proper packages installed, since installing the 
proper packages will create /lib/modules/"release"/build on your system.

On Fedora install 'kernel-devel' (Development Package for building kernel
modules to match the kernel) from the Package Manager (System->
Administration-> Add/Remove Software).

On Ubuntu, you will need headers and tools.  Try these commands:
# apt-get install build-essential linux-headers-generic
# apt-get build-dep linux

To check to see if you have this directory do this:

# ls /lib/modules/`uname -r`/build

i dont know how to do it with arch(i am using arch-3.0), and base-devel has been installed. can anyone tell me what should i do then? or any other package that i ought to install? thx a lot!

Last edited by MarkZar (2012-03-22 14:21:38)

Offline

#2 2012-03-22 05:49:45

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED]error when installing bcm4311 driver

read this wiki and  install the required packages and try again

https://wiki.archlinux.org/index.php/Makepkg

Offline

#3 2012-03-22 05:56:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: [SOLVED]error when installing bcm4311 driver

First off, don't do that.  Try very hard to install things from the AUR rather than make install.  Most things can be found there, especially drivers.

Second, why do you feel the need to do that?  That card is supported by modern kernels, all you need is the firmware.
May I respectfully suggest you read this wiki article  ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2012-03-22 06:05:58

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED]error when installing bcm4311 driver

I assumed the OP wanted to do it the hard way.

I do have a bcm 4311 card and I particularly do the wireless drivers the make install way.
I could have done it with AUR.
Since I was trying different linux distributions , I found this way comfortable.

@MarkZar

Anyways try the suggestion by ewaller.
But still you will have to install the base-devel packages for using the AUR.

Offline

#5 2012-03-22 08:14:52

MarkZar
Member
Registered: 2012-03-19
Posts: 21

Re: [SOLVED]error when installing bcm4311 driver

Thanks @hadrons123 @ewaller
i have tried to install the driver from AUR(broadcom-wl), but makepkg came into an error. i looked through the PKGBUILD file, and found those codes:

_extramodules=extramodules-3.2-ARCH
_kernver="$(cat /lib/modules/${_extramodules}/version)"

and

make -C /lib/modules/"${_kernver}"/build M=`pwd`

but in my case, i only have a folder named 3.0-ARCH in /lib/module, and

ls /lib/modules/3.0-ARCH/
kernel               modules.dep.bin      modules.pcimap
modules.alias        modules.devname      modules.seriomap
modules.alias.bin    modules.ieee1394map  modules.softdep
modules.builtin      modules.inputmap     modules.symbols
modules.builtin.bin  modules.isapnpmap    modules.symbols.bin
modules.ccwmap       modules.ofmap        modules.usbmap
modules.dep          modules.order

neither build or version folder exists. and i cannot makepkg successfully, it prompts that /lib/module/extramodules-3.2-ARCH not exists, i dont want to upgrade the whole system for the compatiblity of some softwares. do you have some ideas about that? im using ARCH-3.0

Offline

#6 2012-03-22 08:25:00

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED]error when installing bcm4311 driver

If you don't want to upgrade then you have to install the drivers manually, as the AUR packages seems only to work with kernel >=3.2.

Still you can folllow the wiki to manully install the firmware.

Last edited by hadrons123 (2012-03-22 08:29:16)

Offline

#7 2012-03-22 14:21:07

MarkZar
Member
Registered: 2012-03-19
Posts: 21

Re: [SOLVED]error when installing bcm4311 driver

Thanks! finally i choose to upgrade the kernel to 3.2 and then installed the broadcom-wl driver successfully. everything else also goes well.

Offline

Board footer

Powered by FluxBB