make all make -C "/lib/modules/2.6.20-15-generic/build" SUBDIRS="/home/profx/qc-usb-messenger-1.5" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1" make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic' test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ 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."; \ echo; \ /bin/false) mkdir -p /home/profx/qc-usb-messenger-1.5/.tmp_versions rm -f /home/profx/qc-usb-messenger-1.5/.tmp_versions/* make -f scripts/Makefile.build obj=/home/profx/qc-usb-messenger-1.5 gcc -m32 -Wp,-MD,/home/profx/qc-usb-messenger-1.5/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/profx/qc-usb-messenger-1.5/.tmp_qc-driver.o /home/profx/qc-usb-messenger-1.5/qc-driver.c In file included from /home/profx/qc-usb-messenger-1.5/qc-driver.c:47: /home/profx/qc-usb-messenger-1.5/quickcam.h:93:26: error: linux/config.h: No such file or directory /home/profx/qc-usb-messenger-1.5/qc-driver.c:94:2: warning: #warning "Little Endian system" /home/profx/qc-usb-messenger-1.5/qc-driver.c: In function ‘qc_int_init’: /home/profx/qc-usb-messenger-1.5/qc-driver.c:773: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type /home/profx/qc-usb-messenger-1.5/qc-driver.c: In function ‘qc_isoc_start’: /home/profx/qc-usb-messenger-1.5/qc-driver.c:2129: warning: assignment from incompatible pointer type make[2]: *** [/home/profx/qc-usb-messenger-1.5/qc-driver.o] Error 1 make[1]: *** [_module_/home/profx/qc-usb-messenger-1.5] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic' make: *** [quickcam.ko] Error 2