LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-11-2006, 11:34 AM   #1
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Modulue Compiling


Hi!

How do I compile modules for the kernel without erasing all of the modules already there - like alsa-drivers, etc.?

Thanks,
Murdock
 
Old 01-11-2006, 04:54 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If they're already build and none of the files they're using are changed, modules will not compile again.
 
Old 01-12-2006, 09:45 PM   #3
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429

Original Poster
Blog Entries: 2

Rep: Reputation: 30
Okay, then maybe I am doing something wrong.

Whenever I "make modules_install" it overwrites the entire /lib/modules/2.6.14/ directory and I need to reinstall all of my custom modules such as the wireless device driver.

Any help is very much appreciated,
Murdock
 
Old 01-12-2006, 10:43 PM   #4
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
Hi Murdock1979,
i take a quick way by installing modules which are already installed by me and found every time you run make modules_install on preinstalled kernel it gets overwritten. so you have to either extract source for module files. compile them and install/copy to /lib/modules/kernel/build
but one thing i didnt get that is if you are doing modification to kernel source and recompiling it without modifying existing other source files then let it be to overwrite modules. are you facing any other problem doing that ?
 
Old 01-13-2006, 02:27 AM   #5
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429

Original Poster
Blog Entries: 2

Rep: Reputation: 30
It seems that there are some modules missing after I do a make modules_install. I need to recompile those modules again.

Thanks,
Murdock
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling? luke1294@gmail.com Linux - Software 6 09-03-2005 01:38 PM
compiling mc hOOPSta Linux - Software 0 09-15-2004 03:21 AM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:44 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