Re: problem building lirc modules
On 2011-03-13, Rob Owens <rowens@ptd.net> wrote:
> On Sun, Mar 13, 2011 at 09:03:15AM +0000, Liam O'Toole wrote:
>> On 2011-03-13, Rob Owens <rowens@ptd.net> wrote:
>> > When I run 'm-a a-i lirc' I get this error:
>> >
>> > echo " ERROR: Kernel configuration is invalid."; \
>> > echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
>> > echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
>> >
>> > I don't really know how to "Run 'make oldconfig && make prepare' on kernel src".
>> > Could somebody help me out? I tried running that command in
>> > /usr/src/linux-headers-2.6.32-5-common but I got these errors, so I assume I did it wrong.
>> >
>> > scripts/Makefile.build:44: /usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile: No such file or directory
>> > make[1]: *** No rule to make target `/usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile'. Stop.
>> > make: *** [scripts_basic] Error 2
>> >
>>
>> Did you run 'm-a update' and 'm-a prepare' first?
>>
> Yes, several times actually!
>
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?
--
Liam O'Toole
Cork, Ireland
Reply to: