Comment 7 for bug 555828

Revision history for this message
kjloh (kjloh71) wrote : Re: acerhk wont compile on lucid

@nicolas, thanks for the reply. May I know which version of the kernel you are using? I seems to have problem after updated to ver33.03 and 34rc6. after I installed the build in /lib/module/uname-r is not linked. and after I linked and still got the following compilation error. did not get much luck....:(

make -C /lib/modules/`uname -r`/build SUBDIRS=/home/kjloh/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.34-020634rc6'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

  WARNING: Symbol version dump /usr/src/linux-headers-2.6.34-020634rc6/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M] /home/kjloh/acerhk-0.5.35/acerhk.o
cc1: error: include/generated/autoconf.h: No such file or directory
/home/kjloh/acerhk-0.5.35/acerhk.c:39:26: error: linux/config.h: No such file or directory
/home/kjloh/acerhk-0.5.35/acerhk.c:3149:2: error: #error This driver is only available for X86 architecture
make[2]: *** [/home/kjloh/acerhk-0.5.35/acerhk.o] Error 1
make[1]: *** [_module_/home/kjloh/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.34-020634rc6'
make: *** [acerhk.ko] Error 2