LinuxQuestions.org
Help answer threads with 0 replies.
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 06-10-2009, 01:53 PM   #1
bruceam
Member
 
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 63

Rep: Reputation: 15
Question How Do I Compile the Kernal in Debian Lenny


While attempting to install the latest nVidia drivers from nVidia, I receive an error message telling me that these drivers were compiled with gcc-4.3 and my Debian Lenny kernal was compiled with gcc-4.1. Unfortunately, the nvidia drivers on the Debian distribution site simply do not do not work propertly, so I must use the manufacturer's drivers.

I therefore humbly request information, and assistance in the following areas. These are things I fell I should know, not just for this problem, but for other, unforeseeable circumstances that I may encounter in the future.

a) How do I download all of the necessary kernal source files?
b) How do I identify and acquire the source code for all necessary modules?
c) How do I compile these file (and the appropriate modules)?
d) How do I "MAKE" the compiled code?
e) How do I set everything up so that when I boot, the correct version of the kernal is installed.

Oh Yes,

f) How do I make certain I have everything installed in my machine to accomplish items a) through e) before I begin any of those operations?


Thank you in advance for your patients, time, and assistance.
 
Old 06-10-2009, 01:56 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Just install gcc-4.1 and then temporarily change the symlink for gcc from gcc-4.3 to gcc-4.1. Then the Nvidia installer should work fine and you won't need to recompile your kernel.
 
  


Reply

Tags
compile, debian, kernel, lenny


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: How-To: Compile and Install VLC 0.9.8 in Debian Lenny LXer Syndicated Linux News 0 03-24-2009 05:00 PM
LXer: How-To: Compile and Install Wesnoth 1.6 in Debian Lenny and Ubuntu 8.10 LXer Syndicated Linux News 0 03-24-2009 04:10 AM
LXer: How-To: Compile and Install Code::Blocks from Source in Debian Lenny LXer Syndicated Linux News 0 01-12-2009 09:40 PM
LXer: How-To: Compile and Install xine-lib 1.1.15 in Debian Lenny and Ubuntu 8.04 LXer Syndicated Linux News 0 09-12-2008 10:00 PM
LXer: How-To: Compile and Install SMPlayer 0.6.2 in Debian Lenny LXer Syndicated Linux News 0 08-26-2008 01:00 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration