Find the answer to your Linux question:
Results 1 to 5 of 5
hi there! when i try to run make command i get an error saying /lib/module/2.6.26.6-49.fc8/build No such file or directory found. i checked that directory /lib/module/2.6.26.6-49.fc8/ build and source are ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Location
    Iloilo, Philippines
    Posts
    17

    Unhappy newbie need help

    hi there!

    when i try to run make command i get an error saying /lib/module/2.6.26.6-49.fc8/build No such file or directory found.

    i checked that directory /lib/module/2.6.26.6-49.fc8/ build and source are in red. what does that mean?

    i don't know what to do. need your help.

    thanks.

  2. #2
    Linux Newbie danielsmw's Avatar
    Join Date
    Nov 2006
    Location
    Clemson, SC / Charleston, SC
    Posts
    110
    The color scheme depends on your implementation and any customization that's been done, but it might indicate a broken link in this case. That would explain why the files can't be found. If you run
    Code:
    ls -l /lib/module/2.6.26.6-49.fc8/build
    If these are links, can you tell where they're supposed to be pointing to? If not, is there anything else we can find out about these files?
    Registered Linux User: #479567
    Asking a question? Read this page first.
    Now... sudo make me a sandwich.
    ratiocinativeroot.blogspot.com

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Location
    Iloilo, Philippines
    Posts
    17

    Question

    here's the output of that command:


    [root@)*\377 ~]# ls -l /lib/modules/2.6.26.6-49.fc8
    total 1908
    lrwxrwxrwx 1 root root 45 2008-12-04 15:46 build -> ../../../usr/src/kernels/2.6.26.6-49.fc8-i686
    drwxr-xr-x 2 root root 4096 2008-10-18 04:10 extra
    drwxr-xr-x 9 root root 4096 2008-12-04 15:46 kernel
    -rw-r--r-- 1 root root 391521 2008-12-04 15:48 modules.alias
    -rw-r--r-- 1 root root 1542 2008-10-18 04:10 modules.block
    -rw-r--r-- 1 root root 69 2008-12-04 15:48 modules.ccwmap
    -rw-r--r-- 1 root root 322050 2008-12-04 15:48 modules.dep
    -rw-r--r-- 1 root root 147 2008-12-04 15:48 modules.ieee1394map
    -rw-r--r-- 1 root root 375 2008-12-04 15:48 modules.inputmap
    -rw-r--r-- 1 root root 13083 2008-12-04 15:48 modules.isapnpmap
    -rw-r--r-- 1 root root 1716 2008-10-18 04:10 modules.networking
    -rw-r--r-- 1 root root 74 2008-12-04 15:48 modules.ofmap
    -rw-r--r-- 1 root root 64025 2008-10-18 04:10 modules.order
    -rw-r--r-- 1 root root 274100 2008-12-04 15:48 modules.pcimap
    -rw-r--r-- 1 root root 1051 2008-12-04 15:48 modules.seriomap
    -rw-r--r-- 1 root root 156195 2008-12-04 15:48 modules.symbols
    -rw-r--r-- 1 root root 560203 2008-12-04 15:48 modules.usbmap
    lrwxrwxrwx 1 root root 5 2008-12-04 15:46 source -> build
    drwxr-xr-x 2 root root 4096 2008-10-18 04:10 updates
    drwxr-xr-x 2 root root 4096 2008-12-04 15:46 vdso
    drwxr-xr-x 2 root root 4096 2008-10-18 04:10 weak-updates


    why didn't it build when the kernel was updated? is this a common problem?

    thanks for your help.

  4. #4
    Linux Newbie
    Join Date
    Mar 2008
    Location
    Hyderabad
    Posts
    109
    The Fedora distribution does not install source (kernel header) files,
    as seen in the port you have Fedora Core 8 installed.
    Check for kernel-headers for Fedora 8 on internet.

  5. #5
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    Just go into the package manager and search for linux header install the newest one. Ubuntu doesn't have the preinstalled either
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

Posting Permissions

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