make all make[4]: Entering directory `/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.20-15-generic/build/ SUBDIRS=/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio modules \ KBUILD_VERBOSE=1 make[5]: 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/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/.tmp_versions rm -f /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/.tmp_versions/* make -f scripts/Makefile.build obj=/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio gcc -m32 -Wp,-MD,/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/.lirc_gpio.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 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/../.. -I/lib/modules/2.6.20-15-generic/build//include/ -I/lib/modules/2.6.20-15-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_gpio)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_gpio)" -c -o /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/.tmp_lirc_gpio.o /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c In file included from /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:56: include/../drivers/media/video/bt8xx/bttvp.h:271: error: array type has incomplete element type include/../drivers/media/video/bt8xx/bttvp.h:353: error: field ‘prio’ has incomplete type /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:74: error: ‘BTTV_BOARD_UNKNOWN’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:82:1: warning: "dprintk" redefined In file included from /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:56: include/../drivers/media/video/bt8xx/bttvp.h:265:1: warning: this is the location of the previous definition /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:101: error: ‘BTTV_BOARD_PXELVWPLTVPAK’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:102: error: ‘BTTV_BOARD_PXELVWPLTVPRO’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:103: error: ‘BTTV_BOARD_PV_BT878P_9B’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:104: error: ‘BTTV_BOARD_PV_BT878P_PLUS’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:108: error: ‘BTTV_BOARD_AVERMEDIA’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:109: error: ‘BTTV_BOARD_AVPHONE98’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:110: error: ‘BTTV_BOARD_AVERMEDIA98’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:118: error: ‘BTTV_BOARD_CHRONOS_VS2’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:121: error: ‘BTTV_BOARD_MIRO’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:122: error: ‘BTTV_BOARD_DYNALINK’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:126: error: ‘BTTV_BOARD_WINVIEW_601’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:131: error: ‘BTTV_BOARD_MAGICTVIEW061’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:132: error: ‘BTTV_BOARD_MAGICTVIEW063’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:133: error: ‘BTTV_BOARD_PHOEBE_TVMAS’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:139: error: ‘BTTV_BOARD_FLYVIDEO’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:140: error: ‘BTTV_BOARD_FLYVIDEO_98’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:141: error: ‘BTTV_BOARD_TYPHOON_TVIEW’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:151: error: ‘BTTV_BOARD_WINFAST2000’ undeclared here (not in a function) /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c: In function ‘init_module’: /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:490: warning: comparison between pointer and integer /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:512: warning: comparison between pointer and integer /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:513: warning: assignment makes integer from pointer without a cast /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:515: warning: comparison between pointer and integer /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:516: warning: assignment makes integer from pointer without a cast /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:518: warning: comparison between pointer and integer /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:519: warning: assignment makes integer from pointer without a cast /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:521: warning: comparison between pointer and integer /home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.c:522: warning: assignment makes integer from pointer without a cast make[6]: *** [/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio/lirc_gpio.o] Error 1 make[5]: *** [_module_/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio] Error 2 make[5]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic' make[4]: *** [lirc_gpio.o] Error 2 make[4]: Leaving directory `/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/ashflsdfhl/lirc-0.8.1/drivers/lirc_gpio' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ashflsdfhl/lirc-0.8.1/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ashflsdfhl/lirc-0.8.1' make: *** [all] Error 2