I need to compile a special module on a system which does not have the kernel sources installed.

How can I install the sources for an existing kernel? (I don't want to install a new kernel, just the sources for the existing one, so I can compile the module).

The system is a Redhat 7.2, kernel 2.4.20-19.7 (installed with up2date, but without sources).

I downloaded kernel-2.4.20-19.7.src.rpm and tried rpm --rebuild. But this will delete the sources after the building. I also tried rpm -i and rpm -Uvh. The last two completed without errors, but there is no kernel source tree under /usr/src/.

Is there a simple way to build it? Can someone point me to some documentation?

Thank you,
-Iulian


-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to