Kernel header files needed for Nvidia driver installation
I can't seem to find kernel header files for my exact kernel (2.4.22-10mdk) I found one for 2.4.18-45mdk but I don't think they will fit exactly. I need them for the nvidia driver installer to use them to make a kernel module interface.
When I used the headers from /usr/include/linux/ the installer couldn't compile the kernel interface, the log returned me the error that "you should not directly include /usr/include/linux files! These are glib internal and probably will not suit the kernel you are running". Or is there some other way to make Nvidia successfully use the headers? Help! :( *Sorry if I posted this in the wrong place, I don't know where to put it, Nvidia driver installation (hardware) or kernel related stuff (general I assume?) |
I use redhat and usu. just search google for the file.
I'd try http://www.google.com/search?hl=en&l...=Google+Search And if you can't find it for mandrake their, I'd do more refined google searches, like kernel-source-2.4.22-10 rpm mandrake, etc... |
You know, I already did that. Header files for my kernel don't seem to exist. I only found the source rpm, which doesn't have any header files, only object code and /lib/module files....
|
Alternately, instead of using that RPM (I tried DeadRat and found the RPM system terribly flawed) why not compile your kernel from source using the new 2.4.23 kernel?
|
I sort of had a bad experience compiling a kernel, when I used my original config file, it would fail at loading at modules and when I did the config myself, it would fail during compilation of bzImage...
Unless I could have a better tutorial...I selected all the things I needed like USB and whatnot and printer serial support but some of these things failed at compilation! :( Worse, I thought my original config file would hold stuff like USB, since it came with Mandrake 9.2... |
Quote:
The guide I used last night was the one by Dr. Ozz. I've recompiled so many times now that I know the steps. I tried a different guide just for Slackware last time and it didn't work, after following the instructions verbosely. This time I edited LILO without anyone's suggestions, just by how I know LILO works. And now it boots either my new kernel, or the old kernel, flawlessly. Try this guide -> http://www.linuxquestions.org/questi...threadid=73436 Having never used Mandrake, I can't advise you. This one thing I will say. If, for some reason, you reinstall, try Slackware. If you search LQ, you'll find some threads with similar problems attempting a kernel compile for Mandrake. And that guide by Dalek I suggested in your other thread will probably be invaluable to you. |
I had the exact same problem - needed the kernel source for Mandrake 9.2 so I could compile the nVidia nForce2 drivers. Luckily, rpmfind.net came to the rescue.
http://rpmfind.net/linux/RPM/mandrak...0mdk.i586.html |
Thank you very much, the source rpm comes with the proper header files. Yay! Installation was very smooth after that. Except WineX doesn't recognise the the 4944 drivers. I have to fall back on an earlier driver, agh :(. Thanks anyway!
I shall try compiling a new kernel sometime, when I get a new hard drive for a different root partition, so one won't mess up the other...I know how to install a new kernel, its just that configuring one without conflicts is the hardest part, not even the compiling part lol. |
Quote:
As for WineX, that's not good news to me. I need to run a couple of programs that are written for Windoze in Linux to be able to dump Windoze. |
I know how to set it up, its just that in my experience in using the new kernel, if it fails, it will mess up the existing modules/shared object files/whatnot, that forced me to reinstall. The old kernel even froze when booting.
|
I don't know how it can do this, but then again, I'm new to *nix, also.
|
All times are GMT -5. The time now is 12:10 AM. |