Results 1 to 5 of 5

Thread: Make: no such directory

  1. #1

    Question Make: no such directory

    OpenSuse Version: 11.2
    I downloaded the tar from Broadcom.com - 802.11 Linux STA driver but when I try to compile the BCM4312 wireless driver with the make command I get
    Code:
    KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
    make: *** /lib/modules/2.6.31.5-0.1-default/build: No such file or directory.  Stop.
    make: *** [all] Error 2
    I google'd around for a while and most posts said that I should try installing kernel-default-base and kernel-default-devel with the zypper command, but I got this:
    Code:
    zypper install kernel-default-base kernel-default-devel
    Loading repository data...
    Reading installed packages...
    'kernel-default-base' is already installed.
    'kernel-default-devel' is already installed.
    Resolving package dependencies...
    Here's the result of lspci just in case you need it:
    Code:
    00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
    00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
    00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
    00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
    00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
    01:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
    03:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
    Can anyone tell me what I'm doing wrong/not doing?

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Make: no such directory

    Arkanor wrote:
    > Can anyone tell me what I'm doing wrong/not doing?


    openSUSE is born without all the software needed to compile, if you
    have not yet, then open YaST, go Software Management (wait for it),
    after doing a bunch of stuff it will finish and pop up a "Filter" set
    to "Search", flip that to "Patterns" then scroll to the "Development"
    section and single right click (to place a check mark in the box next
    to) "Base Development" and "C/C++ Development" then click the "Accept"
    button and WAIT for it to find, fetch, download, unpack, expand,
    install and set up your new development section...

    when all is finished, then try your make again (but, if you already
    had the compile tools, please accept my: sorry i wasn't smart enough
    to know how to correctly read your error message)..

    however, i urge you to check out the three stickies at the top of the
    wireless forum: http://forums.opensuse.org/english/g...here/wireless/
    which will probably save you a LOT of time and frustration..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Make: no such directory

    On 2010-12-14 13:06, Arkanor wrote:

    > I google'd around for a while and most posts said that I should try
    > installing kernel-default-base and kernel-default-devel with the zypper
    > command, but I got this:


    In 11.2 it is indeed part of that package:

    cer@Telcontar:~> ls /lib/modules/2.6.31.14-0.4-desktop/build/
    Makefile Module.base Module.supported Module.symvers
    include include2 scripts
    cer@Telcontar:~> rpm -qf
    /lib/modules/2.6.31.14-0.4-desktop/build/Module.symvers
    kernel-desktop-devel-2.6.31.14-0.4.1.x86_64


    However, your system is not fully updated.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  4. #4

    Default Re: Make: no such directory

    Thanks DenverD, your solution solved the problem, I installed all the base development patterns and it worked, thanks alot.

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Make: no such directory

    Arkanor wrote:
    > Thanks DenverD, your solution solved the problem, I installed all the
    > base development patterns and it worked, thanks alot.


    welcome, have a lot of fun!

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •