Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have 3.11.4 Linux kernel on my target machine. and I have source of 3.13.0 . I want to compile brcm wireleess module from source and want to install that on target machine.

My both machines are x86_64.

How can I do it?

I tried the following steps.

  1. I installed the headers for 3.11.4
  2. Then I used the command :

    make -C /lib/modules/3.11.0-14-generic/build M=drivers/net/wireless/brcm80211
    
  3. It is giving errors:

    make: Entering directory `/usr/src/linux-headers-3.11.0-14-generic'
    /usr/src/linux-headers-3.11.0-14-generic/arch/x86/Makefile:107: CONFIG_X86_X32 
    enabled but no binutils support
    mkdir: cannot create directory `drivers/net/wireless/brcm80211/.tmp_versions': 
    Permission denied
    LD      drivers/net/wireless/brcm80211/built-in.o
    ar: drivers/net/wireless/brcm80211/built-in.o: Permission denied
    make[1]: *** [drivers/net/wireless/brcm80211/built-in.o] Error 1
    make: *** [_module_drivers/net/wireless/brcm80211] Error 2
    make: Leaving directory `/usr/src/linux-headers-3.11.0-14-generic'
    
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.