This one time, at band camp, Loïc Minier said: > Hi, > > After dropping the linux/config.h include in > drivers/lirc_dev/lirc_dev.c, the following error is: > gcc-4.1 -m32 > -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_gpio/.lirc_gpio.o.d -nostdinc > -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude > -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes > -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-float > -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 > -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/mach-default > -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement > -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. > -I. -I../.. -I/usr/src/modules/lirc/drivers/lirc_gpio/../.. > -I/lib/modules/2.6.22-1-686/build/include/ -DMODULE -D"KBUILD_STR(s)=#s" > -D"KBUILD_BASENAME=KBUILD_STR(lirc_gpio)" > -D"KBUILD_MODNAME=KBUILD_STR(lirc_gpio)" -c -o > /usr/src/modules/lirc/drivers/lirc_gpio/.tmp_lirc_gpio.o > /usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c > /usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:65:47: error: > ../drivers/media/video/bt8xx/bttv.h: Aucun fichier ou répertoire de ce type > > Build subsequently fails; does someone know where bttv.h went?
bttv.h is a 'private' header, and not included in the kernel headers shipped in Debian. This is why there is an attempt at versioned bttv.h headers in lirc itself. It's a bad hack, but I'm not sure what else can be done. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature