LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Modulue Compiling (https://www.linuxquestions.org/questions/programming-9/modulue-compiling-402080/)

Murdock1979 01-11-2006 11:34 AM

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

Mara 01-11-2006 04:54 PM

If they're already build and none of the files they're using are changed, modules will not compile again.

Murdock1979 01-12-2006 09:45 PM

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

paragn 01-12-2006 10:43 PM

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 ?

Murdock1979 01-13-2006 02:27 AM

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

Thanks,
Murdock


All times are GMT -5. The time now is 05:59 AM.