[PlanetCCRMA] Re: Trying to build module using Planet Kernel
Axel Thimm
Axel.Thimm at ATrpms.net
Tue May 11 02:17:02 PDT 2004
On Tue, May 11, 2004 at 04:47:19AM -0400, jim ruxton wrote:
>
> >
> >Well, it looks like I have it here:
> ># rpm -q -l kernel-source-2.4.26-1.ll.rh90.ccrma|grep linux/version.h
> >/usr/src/linux-2.4.26-1.ll.rh90.ccrma/include/linux/version.h
> >(same result of FC1)
> >
> >If you don't have the file then something erased it (not me! :-)... "rpm
> >-V kernel-source-2.4.26-1.ll.rh90.ccrma" will verify the installed
> >package and check for missing or altered files. Most probably you will
> >need to reinstall it.
> >
> >
> >
> Thanks Fernando,
>
> I removed the source RPM and reinstalled it and voila the missing file
> appeared. I'm not sure how it dissapeared...
> Thanks again,
> Jim
You probably did a make mrproper (perhaps even make clean is enough to
blast it away).
I recommend the following procedure:
o Install kernel-sources, copy them to a working directory
o Edit Makefile to remove the custom tag (if Nando adds this like RH
does).
o make mrproper
o Copy configs/your-config.config .config
o make oldconfig (sometimes needed twice)
o make deps
Now go to the module you want to build and point it to these sources.
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://cm-mail.stanford.edu/pipermail/planetccrma/attachments/20040511/61630dd1/attachment.sig>
More information about the PlanetCCRMA
mailing list