Kernel Tree in Mandrake 9.1
I am trying to install the rm-kernel module for my Radeon 8500 video card. I am following instructions from a HOWTO that comes with the Mandrake documentation. My problem occurs when I try to perform this action:
Code:
make -f Makefile.linux Code:
Error: Could not locate kernel tree in /lib/modules/2.4.21-0.13mdk/build/include /usr/src/linux-2.4.21-0.13mdk/include /usr/src/linux/include /usr/include |
you must look inside /usr/src, and check if there's a directory named 'linux' or 'linux-2.4....." full of archives :-)
you must also look for a modules directory inside /lib/modules/2.4.... |
Quote:
Quote:
Thanks for your help. |
With the info you supplied, I guess you don't have installed the kernel sources. You need them to install your module.
Look: "Your" error says: <<...... in /usr/src/linux-2.4.21-0.13mdk/include /usr/src/linux/include /usr/include >> That means maybe all you need are the "kernel headers" (because what goes inside /usr/src/linux/include are them. They are a group of files ending with .h extensions. Look within your Mandrake CD's for a package named something like kernel_headers_whatever.mdk That should fill your /usr/include directory. If you find it, install and try again. If it does not work, you need all the kernel sources -->Look within your Mandrake CD's for a package named something like kernel_sources_whatever.mdk and do the same. Note: /usr/src/linux must be a "soft link" to /usr/src/linux-2.4.21-0.13mdk That means that if you install kernel headers or sources, you must issue: cd /usr/src ln -s linux-2.4.21-0.13mdk linux (maybe that linking is automatically made by the kernel headers install process) That will make a link from "linux" to "linux-2.4....." and if you cd into that new "linux" file is exactly as if you get into "linux-2.4....." Note2: /usr/include/linux is related with /usr/src/linux/include/linux, but maybe you still don't need to know that. |
I installed the kernel sources from the Mandrake CD and the installer took care of everything.
Thanks a lot for your help! |
All times are GMT -5. The time now is 02:17 AM. |