From: Ryan V. <sim...@ya...> - 2003-11-06 03:42:54
|
On Wed, 5 Nov 2003 19:35:41 -0800 "Florin Andrei" <fl...@an...> | Add to Address Book wrote: > This issue has been brought to the attention of the LIRC authors but, for some > reason, has not been emphasized clearly enough in the documentation. > > Solution: > > 1. Install kernel sources RPM (you probably did that already) > 2. Go to /usr/local/linux-2.4 (or wherever the sources get installed) > 3. Edit Makefile and: > - if you're runing the single-CPU kernel, remove the string "custom" from the > EXTRAVERSION variable (so if it's "-20.9custom" it becomes "-20.9") > - if you're running the SMP kernel, replace "custom" with "smp" in the > EXTRAVERSION variable (so if it's "-20.9custom" it becomes "-20.9smp") > 4. Run "make clean; make mrproper" > 5. Run "make menuconfig" but don't change anything; just exit saving the config > 6. Run "make dep" > > Now your kernel source should be ready to build any 3rd party kernel modules, > including LIRC, and the version should be correct. > Same advice applies to users of VMware, ALSA or other 3rd party kernel modules. > > I take these steps on almost any system after i install it, and after i update > the kernel (and the kernel sources). > this is one reason i try to emphasis the building of a kernel after a user has been fairly familiarized with the system, it can avoid these type of things, and with a person there to walk you through it, its not that hard, just LONG... -----BEGIN GEEK CODE BLOCK---- Version: 3.1 GCM/CS/E/M/S d->-- s:+>+:- !a--->-->->>+>++>+++$ C+++$>++++$ UL++++>++++$ P+++>++++$ L++++>++++$ !E-? W++>++$>+++$ N+++>* !o? !K? w--(---) O-- M-(--) V-- PS? PE Y+(++) PGP+++(++) t++>+++$ 5--(-) X++>+++ R* tv+++>++ b+>++ DI++++>+++++ D+++@ G++>++++ e>+$>++$>+++$>++++$>+++++$ h>+>++$ r* y-->->++ -----END GEEK CODE BLOCK----- |