LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-30-2007, 09:21 AM   #1
Zibi1981
Member
 
Registered: Dec 2006
Location: Poland
Distribution: Kubuntu
Posts: 65

Rep: Reputation: 15
Smile 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.
 
Old 07-30-2007, 06:35 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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
 
Old 08-04-2007, 03:17 AM   #3
Zibi1981
Member
 
Registered: Dec 2006
Location: Poland
Distribution: Kubuntu
Posts: 65

Original Poster
Rep: Reputation: 15
Smile

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


Reply

Tags
compilation, kernel, sources



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Post your sources.list el amigo* Ubuntu 1 06-24-2007 07:57 PM
Post kernel compilation, console resolution enlargement??? Southpaw76 Slackware 9 12-05-2006 10:42 PM
post kernel compilation problem jelgavchik Slackware 2 11-19-2006 12:11 PM
kernel sources compilation prob. rooman Linux - Software 5 10-01-2004 03:34 PM
Problem after 2.6.3 kernel compilation frzburn Linux - General 3 03-11-2004 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration