[SOLVED] Mandriva Kernel Headers -- Why am I missing the "build" folder?
I'm following the instructions here to try to get my wireless card working. I am at the part where it says:
The package installer (and urpmi) both assert that the kernel headers are already installed.
How do I get this "build" folder installed (or is it located somewhere else)? "find / -name build" only returns a single unrelated entry. I'm using Mandriva 2009.0.
You have to at least run configure or "make prepare" once. The "build" within the modules directory is just a symlink pointing to the matching kernel source directory.
The '/lib/modules/2.6.27-desktop586-1mnb/build' link will appear
after installing 'kernel-desktop586-devel-184.108.40.206-1mnb'
( as an example from my Mandriva 2009.0 )
There was no devel package for the default installed, which was 'kernel-desktop586-2.6.27-0.rc8.2mnb' so I had to start finding
a kernel in the package manager, the above is a random choice.
...And it worked.
( Should probably have been -2mnb, is already set for update )
Using # ' urpmi kernel-devel-`uname -r` ' or
'urpmi kernel-desktop586-devel-`uname -r` doesn't seem to work,
because the order of words is odd.
"urpmi kernel-devel" gave me a list of 3 options, 1 of which matched my kernel. I installed that one and a "build" symlink was put into the /lib/modules/`uname -r`/ directory. I am compiling the program successfully now.
|All times are GMT -5. The time now is 12:34 PM.|