Now all I have to do is to get it to compile under FC2.
I'll let you know whether I have any success.
Um... no luck.
Here is the makefile log:
<snip>
make all-recursive
make[1]: Entering directory `/tmp/lirc-0.7.0pre6'
Making all in drivers
make[2]: Entering directory `/tmp/lirc-0.7.0pre6/drivers'
Making all in lirc_dev
make[3]: Entering directory `/tmp/lirc-0.7.0pre6/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/tmp/lirc-0.7.0pre6/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.5-1.358'
mkdir -p /tmp/lirc-0.7.0pre6/drivers/lirc_dev/.tmp_versions
make -f scripts/Makefile.build obj=/tmp/lirc-0.7.0pre6/drivers/lirc_dev
gcc -Wp,-MD,/tmp/lirc-0.7.0pre6/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -iwithprefix include
-D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-commo
n -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack
-boundary=2 -march=i686 -mregparm=3 -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer -g
-Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I..
/.. -I /tmp/lirc-0.7.0pre6/drivers/lirc_dev/../.. -I /usr/src/linux//include/ -DMODULE -DKBUILD
_BASENAME=lirc_dev -DKBUILD_MODNAME=lirc_dev -c -o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev
.o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:33:2: warning: #warning "**********************************************************"
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:34:2: warning: #warning "************ disabling devfs for 2.6 kernels *************"
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:35:2: warning: #warning "**********************************************************"
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c: In function `lirc_thread':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:187: warning: `interruptible_sleep_on' is deprecated (declared at include/linux/wait.h:231)
include/asm/semaphore.h: In function `lirc_register_plugin':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:279: warning: ignoring return value of `down_interruptible', declared with attribute warn_unused_result
include/asm/semaphore.h: In function `lirc_unregister_plugin':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:379: warning: ignoring return value of `down_interruptible', declared with attribute warn_unused_result
include/asm/semaphore.h: In function `irctl_open':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:458: warning: ignoring return value of `down_interruptible', declared with attribute warn_unused_result
include/asm/semaphore.h: In function `irctl_close':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:510: warning: ignoring return value of `down_interruptible', declared with attribute warn_unused_result
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.5-1.358/scripts/Makefile.modpost
scripts/modpost -i /usr/src/linux-2.6.5-1.358/Module.symvers /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.o
gcc -Wp,-MD,/tmp/lirc-0.7.0pre6/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mregparm=3 -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer -g -Wdeclaration-after-statement -DKBUILD_BASENAME=lirc_dev -DKBUILD_MODNAME=lirc_dev -DMODULE -c -o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.mod.o tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.mod.c
ld -m elf_i386 -r -o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.ko /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.mod.o
make[4]: Leaving directory `/usr/src/linux-2.6.5-1.358'
mv Makefile.automake Makefile
make[3]: Leaving directory `/tmp/lirc-0.7.0pre6/drivers/lirc_dev'
Making all in lirc_imon
make[3]: Entering directory `/tmp/lirc-0.7.0pre6/drivers/lirc_imon'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/tmp/lirc-0.7.0pre6/drivers/lirc_imon modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.5-1.358'
mkdir -p /tmp/lirc-0.7.0pre6/drivers/lirc_imon/.tmp_versions
make -f scripts/Makefile.build obj=/tmp/lirc-0.7.0pre6/drivers/lirc_imon
gcc -Wp,-MD,/tmp/lirc-0.7.0pre6/drivers/lirc_imon/.lirc_imon.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mregparm=3 -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer
-g -Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I ../.. -I /tmp/lirc-0.7.0pre6/drivers/lirc_imon/../.. -I /usr/src/linux//include/ -DMODULE -DKBUILD_BASENAME=lirc_imon -DKBUILD_MODNAME=lirc_imon -c -o /tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.o /tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:102: warning: initialization from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:103: warning: initialization from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:104: error: unknown field `fops' specified in initializer
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:104: warning: initialization from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:105: error: unknown field `minor' specified in initializer
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:105: warning: initialization makes pointer from integer without a cast
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `vfd_open':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:127: warning: `MOD_INC_USE_COUNT' is deprecate
d (declared at include/linux/module.h:501)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `vfd_close':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:145: warning: `MOD_DEC_USE_COUNT' is deprecate
d (declared at include/linux/module.h:513)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `vfd_write':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:177: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:182: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `send_packet':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:224: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:229: error: too few arguments to function `usb_submit_urb'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `ir_open':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:269: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:271: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:272: error: too few arguments to function `usb_submit_urb'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:278: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:501)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `ir_close':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:295: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:513)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `incoming_packet':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:341: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:347: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `submit_data':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:384: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `imon_probe':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:417: warning: assignment from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:418: error: structure has no member named `act_altsetting'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:421: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:427: error: structure has no member named `endpoint'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:428: error: structure has no member named `endpoint'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:432: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:456: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:474: error: too few arguments to function `usb_alloc_urb'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:478: error: too few arguments to function `usb_alloc_urb'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `imon_disconnect':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:562: warning: `sleep_on' is deprecated (declared at include/linux/wait.h:228)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: At top level:
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:608: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:608: warning: data definition has no type or storage class
make[5]: *** [/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.o] Error 1
make[4]: *** [/tmp/lirc-0.7.0pre6/drivers/lirc_imon] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.5-1.358'
make[3]: *** [lirc_imon.o] Error 2
make[3]: Leaving directory `/tmp/lirc-0.7.0pre6/drivers/lirc_imon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/lirc-0.7.0pre6/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/lirc-0.7.0pre6'
make: *** [all] Error 2