[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem building lirc modules



On Sun, Mar 13, 2011 at 05:35:16PM +0000, Liam O'Toole wrote:
> Just checking :-) module-assisitant has never failed me once prepared
> properly. Mind you, I've never tried to compile and install lirc.
> 
> Anyway, apt-file reports that the files include/linux/autoconf.h and
> include/config/auto.conf are available in the various kernel-headers-*
> packages (not in the kernel-headers-*-common packages). Is the
> kernel-headers-* package matching your running kernel installed?
> 
I have linux-headers-2.6.32-5-686 installed, which matches my kernel.  I
tried running 'make oldconfig && make prepare' from
/usr/src/linux-headers-2.6.32-686 and got these errors:

/usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build:44: /usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile'.  Stop.
make[2]: *** [scripts_basic] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2

Funny thing is, I successfully build lirc on another similar (but not
identical) system.  The two systems are my MythTV frontends.  So I'm
pretty sure I'm not screwing up anything with module-assistant or
lirc.  I purged all old kernel headers, but it did not seem to help.

-Rob


Reply to: