On Fri, 1 Feb 2008, eerpinisatish wrote: > Date: Fri, 01 Feb 2008 17:22:11 -0000 > From: eerpinisatish <[EMAIL PROTECTED]> > Reply-To: <[email protected]> > To: <[email protected]> > Subject: [twincling] Re: cannot find linux/module.h > > Hey Saifi, > > I have done that, and I am sure my kernel-headers rpm is not installing the > module.h > > I have checked the directory '/usr/include/linux/' and I have executed and > checked the ouput of 'rpm -ql kernel-headers | more '. > I still can't find the header. > > And there is yet another problem, I fear it is a problem with Fedora > 8, I am not able to locate a module.h on any fedora 8 linux-boxes. > Can u check that out ?? > Is there any other solution possible ??? > > thanks > Satish >
Hi Satish: Good news ! Yes, there is a solution. Summary: . download the kernel source RPM . install the kernel source RPM . rpmbuild the kernel.spec file . configure the kernel options . apply patches . build .config file . prepare build files . build the kernel . make headers_install This last step for a properly configured kernel should install module.h However, Fedora 8 documentation states that for custom module development you need to install kernel-devel RPM and work with. For more details, please see the link below. Here is the link http://www.mjmwired.net/resources/mjm-fedora-f8.html#kernelsrc and http://fedoraproject.org/wiki/Docs/CustomKernel thanks Saifi.

