Hi all I am having the following problem compling the CVS version of lirc.

Running the linux-2.4.20-19.23.rh9.at kernel, trying to compile it for the PVR-250 card so I need the Lirc_12c kernel module, here is where it is failing:

Am i missing something ?

 

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-19.23.rh9.at/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/modversions.h -DHAVE_CONFIG_H -I. -I. -I../.. -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_i2c -c -o lirc_i2c.o lirc_i2c.c

lirc_i2c.c: In function `set_use_inc':

lirc_i2c.c:275: structure has no member named `inc_use'

lirc_i2c.c:276: structure has no member named `inc_use'

lirc_i2c.c: In function `set_use_dec':

lirc_i2c.c:286: structure has no member named `dec_use'

lirc_i2c.c:287: structure has no member named `dec_use'

lirc_i2c.c: In function `ir_attach':

lirc_i2c.c:384: structure has no member named `inc_use'

lirc_i2c.c:385: structure has no member named `inc_use'

lirc_i2c.c: In function `ir_detach':

lirc_i2c.c:395: structure has no member named `dec_use'

lirc_i2c.c:396: structure has no member named `dec_use'

make[5]: *** [lirc_i2c.o] Error 1

make[5]: Leaving directory `/usr/local/src/lirc/drivers/lirc_i2c'

make[4]: *** [_mod_/usr/local/src/lirc/drivers/lirc_i2c] Error 2