No kernel headers found. What?
Hi,
Im running Madrake 9.2, Kernel version 2.4.22-10mdk I been installing my modem driver from source and ive come across this error message: Quote:
What does this mean and how can I fix it or get these kernel headers. Please help with this one ive been trying to install this modem for the last two weeks. Ive solved the rest of the problems and I think once I get this problem out of the way im sorted. :confused: |
Apparently you installed without the developmental packages and kernel source code.
Try one (you may need more than one) of these commands: urpmi gcc urpmi kernel-source urpmi kernel-headers # Compiling/installing kernel modules You will need to have installed: 1. The developmental packages (compiler) 2. The kernel-source code that matches your running kernel 3. The module source or install code Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed: Code:
[fancy@tinwhistle fancy]$ su - Code:
[root@tinwhistle root]# cd /usr/src If you don't see something similiar to this (but in color), you will need to install the kernel source. NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need. I may as well make one now to save editing the files in the source code every time I need to compile anything concerning the kernel. So, I'll make that link just now: Code:
[root@tinwhistle src]# ln -s linux-2.4.20-28.7 linux Next, did I install the compiler? Code:
[root@tinwhistle src]# gcc -v If you don't have those two things installed, you have to install them first off your install CD. If they are installed, download the source and happy comiling. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study: # Guides to software management LNAG - How do I install a program I downloaded from the Internet? Rute Guide's software explanation You might want to check out CheckInstall to manage source code installations/uninstallation # Mandrake links Mandrake home page Mandrake Users website Easy urpmi config for Mandrake urpmi mini-HOWTO All You Ever Wanted to Know About Urpmi But Never Dared Asking Before Maximum RPM rpmfind You didn't install the developmental packages? As root, command: urpmi gcc An Introduction to the Midnight Commander. You can install it by commanding: urpmi mc Midnight Commander home page |
All times are GMT -5. The time now is 10:31 AM. |