Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm trying to rebuild NVIDIA_kernel drivers in RedHat 7.2.. As root running the command, I get the vauge error listed in the title. I've tried using the full path in the command line yet the problem persists.
By default, RedHat 7.2 I suppose does not install the source files of the kernel. So, when I throw the command rpm --rebuild NVIDIA_kernel.src.rpm it reports some ambigous errors dealing with having to use the kernel's source as reference. Needless to say, the location I'd expect to find that source (/usr/src/) has nothing but 'redhat' in it. I've chased links around to end up up at /lib/moduals/2.4.7-10 where i'm not at a loss as how to actually commit, much less locate, the 'real' kernel in the --rebuild proccess.
well, it shouldn't point to /usr/src as that's source code, not compiled. ls -l should tell you where the link is trying to point to.
what do you mean by 'didn't happen'? f you've installed the kernel source rpm, then it will always be located in /usr/src/linux-version/ You might need to symlink the source directory to an alternative name, such as just /usr/src/linux/ as some programs have trouble finding that location.
but source shouldn't really be needed, it should only require headers to get the job done.
i can't find out where the headers are meant to be at the moment, think it's /usr/include/linux, not sure tho. they really do need to be installed properly tho.
if you 're compiling from source, you should be able to define the locatino of the headers as an ./configure option, if it's simply a case of not being able to find them