/lib/module/2.6.26.6-49.fc8/build: No such file or directory
hi there! i'm very new to linux and i'm trying to install the compat-wireless driver in my pc but when i run the command make i get an error.
make: *** /lib/modules/2.6.26.6-49.fc8/build: No such file or directory. Stop. make: *** [modules] Error 2 i checked that directory and the build and source are in red. what do you think it means? thanks for your help. |
Quote:
|
Yes, the build and source are in red because they are links and point to something that does not exist, yet. After you've installed the kernel headers, they will look normal (cyan on my system) and the build link will point to a directory in /usr/src/kernels/. Be sure to install the kernel headers that match exactly the version of your running kernel:
Code:
kernel-2.6.26.6-49.fc8 |
a little more help: device drivers need the kernel source (at least headers usually) to be able to compile correctly. There exist a great many packages that contain kernel source. the easiest way for you to install them given that you're running fedora would be to use your favorite package manager and the default repositories to find the kernel source package that matches your current kernel (which is 2.6.26.6-49.fc8).
|
hi there! thanks for your reply.
when i tried to install the requirement for the kernel- devel, headers, the reply was kernel headers already installed. Nothing to do. How come the build and source are still in red? Is there a command that i must use to have this properly working? Thanks for all your help. |
You can follow the instructions here to install the kernel sources. It's written for fc5 but you can adapt it for fc8.
|
Quote:
Code:
# uname -a |
Quote:
# uname -a Linux )*\377 2.6.26.6-49.fc8 #1 SMP Fri Oct 17 15:59:36 EDT 2008 i686 i686 i386 GNU/Linux # rpm -qa|grep kernel kernel-headers-2.6.26.6-49.fc8 kernel-2.6.26.6-49.fc8 kernel-2.6.23.1-42.fc8 # ls /usr/src/kernels/$(uname -r)-$(uname -m) ls: cannot access /usr/src/kernels/2.6.26.6-49.fc8-i686: No such file or directory # ls -l /lib/modules/$(uname -r) 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 We currently changed our OS in the office from Windows to Linux. I read the forums to get more information about Fedora 8 and it has helped me a lot but this problem needs an expert. I really appreciate all your help. |
load all your development rpms. if you can build Gyachi you got everything installed lol.
stay with 8 it has become pretty stable. |
You missed the package kernel-devel. It will provide all the required stuff under /usr/src/kernels:
Code:
yum install kernel-devel |
hey guys! sorry this delayed reply but thanks for all your help.
i ran the kernel-devel command and it worked. thanks a lot. i'm now trying to network the office computers all with fc8. i'll ask your help again soon if i don't get it up and running by myself. thanks again. Happy Holidays!!! |
All times are GMT -5. The time now is 08:41 PM. |