LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   A post-compilation problem with kernel sources (https://www.linuxquestions.org/questions/linux-kernel-70/a-post-compilation-problem-with-kernel-sources-573386/)

Zibi1981 07-30-2007 09:21 AM

A post-compilation problem with kernel sources
 
Hello everybody! :)

Some time ago I compiled kernel for my Mandriva 2007 OS. It was before reinstall of my system, so know I don't have it. The configuration and compilation processes both ended without errors, and I started my system with a new kernel on board. After booting in, I wanted to install drivers for my ATI Radeon X800PRO graphics card (proprietary driver), but I didn't succeed, because the drivers couldn't find kernel-sources. Now, when I'm installing a precompiled kernel form repositories, I can also choose a package called kernel-sources and then graphic drivers are installing properly. What should I do to convince these drivers that I compiled my kernel from sources that are located in /usr/src I guess?

Thx in advance.

jailbait 07-30-2007 06:35 PM

"What should I do to convince these drivers that I compiled my kernel from sources that are located in /usr/src I guess?"

Use a symbolic link to link /usr/src/linux to the source tree that you want to compile against. For example if you want to use the source tree /usr/src/vmlinux-2.6.12 then use the command:

ln -s /usr/src/vmlinux-2.6.12 /usr/src/linux

--------------
Steve Stites

Zibi1981 08-04-2007 03:17 AM

Many thx for Your suggestion jailbait :) I will surely give it a try.


All times are GMT -5. The time now is 05:32 AM.