LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-24-2005, 02:57 PM   #1
hnaparst
LQ Newbie
 
Registered: Aug 2003
Distribution: Mepis 3.3.1
Posts: 3

Rep: Reputation: 0
Need to recompile world after upgrading kernel?


If I upgrade my kernel, either by changing the .config file or actually doing a version upgrade, do I need to recompile all programs that depend on the kernel, which is to say -- everything ?

For instance, do I need to recompile the X-windows system?
What about wpa_supplicant? Evolution?

Kernel modules and device drivers obviously need to be recompiled,

All these programs depend on the kernel, obviously. Logically, a
change in the kernel may destabilize the programs that depend on it.
I've had a lot of instability after kernel recompiles. I wonder what the accepted
wisdom is. I'm wondering if Gentoo would be good because it would recompile
everything if I change the kernel.

Harold
 
Old 07-24-2005, 03:44 PM   #2
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
in short....NO!


External drivers, for instance from nVidia would need to be reinstalled and such....but everything else wouldn't nedd to be recompiled.

Last edited by AxeZ; 07-24-2005 at 03:46 PM.
 
Old 07-24-2005, 03:45 PM   #3
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
You only need to recompile the kernel modules and so on, no every app that you got.
 
Old 07-24-2005, 03:50 PM   #4
hnaparst
LQ Newbie
 
Registered: Aug 2003
Distribution: Mepis 3.3.1
Posts: 3

Original Poster
Rep: Reputation: 0
What's the difference?

Well, why not? What's the difference between a kernel module (like ath_pci) or something like wpa_supplicant?
I've found that I do have to recompile wpa_supplicant after kernel upgrades.

That brings up an even more fearsome question. If I'm using a custom kernel, can I download packages from
debian's repositories, or do I have to compile the application myself to match my kernel ?

Harold
 
Old 07-24-2005, 03:51 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
it's really glibc that interacts with the kernel and the other user space programms interact with glibc
the kernel is designed to have a consistent interface with glibc basically so all is good.
if you upgraded glibc then you would need to recompile everything.
 
Old 07-24-2005, 03:51 PM   #6
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
That's because modules and so on is being inserted directly into the kernel, normal apps just run on top of it.
 
Old 07-24-2005, 03:55 PM   #7
hnaparst
LQ Newbie
 
Registered: Aug 2003
Distribution: Mepis 3.3.1
Posts: 3

Original Poster
Rep: Reputation: 0
Oh, so the problem is GCC?

Ok, glibc makes some sense. I've also had problems when I switch from GCC 3.3 to GCC 4.0.
I assume this would change the glibc, and so all the apps would get confused and need to be
recompiled. Is that thinking correct?
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to X11R6.8.0...Just a case of removepkg and make world? SBing Slackware 14 09-13-2004 02:10 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
recompile the kernel!!! :O HELP! gangster_god Mandriva 3 04-06-2004 03:42 PM
upgrading glibc. what else do i need to recompile. whansard Linux From Scratch 1 10-18-2003 03:15 PM
kernel recompile synaptical Linux - General 7 08-17-2003 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration