Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 06-10-2009, 01:53 PM   #1
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 82

Rep: Reputation: 16
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
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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.


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 08:53 PM.

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