I am running a Gentoo linux kernel 2.6.14-r5 and I am unable to compile the
lirc_i2c module from the lirc-0.7.2 package. I downloaded the source from
the LIRC site. I am configuring with hauppauge card and I am getting the
gcc -m32 -Wp,-MD,/home/dsavard/temp/lirc-0.7.2/drivers/lirc_i2c/.lirc_i2c=
-nostdinc -isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include
-D__KERNEL__ -Iinclude -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointe=
-pipe -msoft-float -mpreferred-stack-boundary=3D2 -march=3Di686
-Iinclude/asm-i386/mach-default -DIRCTL_DEV_MAJOR=3D61 -DEXPORT_SYMTAB
-DHAVE_CONFIG_H -I. -I. -I../.. -I
-I /lib/modules/2.6.14-gentoo-r5/build//include/ -DMODULE
-DKBUILD_BASENAME=3Dlirc_i2c -DKBUILD_MODNAME=3Dlirc_i2c -c -o
In file included from include/linux/rcuref.h:36,
include/linux/interrupt.h:30: error: conflicting types for `irqreturn_t'
/home/dsavard/temp/lirc-0.7.2/drivers/kcompat.h:166: error: previous
declaration of `irqreturn_t'
Kernel 2.6.14-r5 defines irqreturn_t as an integer while the kcompat.h from
the package defines it as void.
And, of course, IRQ_NONE, IRQ_HANDLED and IRQ_RETVAL are not appropriately
defined as well.
So, what should be done to fix it?
From: Michael Mauch <michael.mauch@gm...> - 2005-12-27 22:54:56
Daniel Savard wrote:
> I am running a Gentoo linux kernel 2.6.14-r5 and I am unable to compile the
> lirc_i2c module from the lirc-0.7.2 package. I downloaded the source from
> the LIRC site.
0.7.2 is old, kernel 2.6.14 needs a newer LIRC. You can grab a CVS
snapshot from http://lirc.sourceforge.net/software/snapshots/ (0.8.0pre2
worked fine here with 2.6.14).
Also you might want to try the lirc-cvs ebuild available in the gentoo.de
overlay, it works fine with 2.6.14.
In case you don't want to install that overlay (docs are in German only,
AFAIK), you can grab that ebuild from
From: Karl Hiramoto <karl@hi...> - 2005-12-28 07:09:56
Michael Mauch wrote:
> In case you don't want to install that overlay (docs are in German only,
> AFAIK), you can grab that ebuild from
I had the same issue with kernel 2.6.14, and that ebuild worked for me, thanks!
Karl Hiramoto <karl@...> http://karl.hiramoto.org/
Yahoo_IM = karl_hiramoto GTalk=karl.hiramoto@...