I have been searching for this problem and have not come across any results that work.
I'm running Ubuntu server 10.04, trying to install driver for a hardware encoder "ctr-1475".
When I run 'make' I get:
I have looked around and both, autoconf.h and auto.conf are in the right directory.
make -C /lib/modules/2.6.32-30-generic/build/ SUBDIRS=/home/tacklebox/ctr1472 V=1 modules
make: Entering directory `/usr/src/linux-headers-2.6.32-30-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
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."; \
mkdir -p /home/tacklebox/ctr1472/.tmp_versions ; rm -f /home/tacklebox/ctr1472/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/tacklebox/ctr1472
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/tacklebox/ctr1472/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make: *** [_module_/home/tacklebox/ctr1472] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.32-30-generic'
make: *** [default] Error 2
When I run make oldconfig && make prepare, I also get an error:
I'm at a loss for what to try next to resolve these issues. Is this problem on my server? or could it be the company software?. I have emailed the company who provided me with the hardware & drivers, but as I wait, I am still looking for solutions.
scripts/kconfig/conf.c: In function ‚€˜conf_askvalue‚€™:
scripts/kconfig/conf.c:105: warning: ignoring return value of ‚€˜fgets‚€™, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‚€˜conf_choice‚€™:
scripts/kconfig/conf.c:307: warning: ignoring return value of ‚€˜fgets‚€™, declared with attribute warn_unused_result
scripts/kconfig/conf -o arch/x86/Kconfig
# configuration written to .config
scripts/kconfig/conf -s arch/x86/Kconfig
*** Error during update of the kernel configuration.
make: *** [silentoldconfig] Error 1
make: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.