Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115945 - Emerging of lirc-0.7.2 fails using the Hauppauge driver
Summary: Emerging of lirc-0.7.2 fails using the Hauppauge driver
Status: RESOLVED DUPLICATE of bug 111820
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-18 08:48 UTC by Lars Mehrtens
Modified: 2005-12-18 08:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Mehrtens 2005-12-18 08:48:04 UTC
When compiling lirc-0.7.2 (as well as ebuild and "by hand" using the tarball from www.lirc.org) the following error blocks the use of lirc with a Hauppauge bt878 TV-card. I'm not quite sure what causes this error, but since lirc-0.7.2 builds flawlessly on other Linux distros, it's gotta be gentoo-related.

Errormessage:
In file included from include/linux/rcuref.h:36,
                 from include/linux/fs.h:12,
                 from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev/lirc_dev.h:24,
                 from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:65:
include/linux/interrupt.h:30: error: conflicting types for `irqreturn_t'
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/kcompat.h:126: error: previous declaration of `irqreturn_t'
In file included from include/linux/rcuref.h:36,
                 from include/linux/fs.h:12,
                 from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev/lirc_dev.h:24,
                 from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:65:
include/linux/interrupt.h:32:1: warning: "IRQ_NONE" redefined
In file included from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:64:
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/kcompat.h:127:1: warning: this is the location of the previous definition
In file included from include/linux/rcuref.h:36,
                 from include/linux/fs.h:12,
                 from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev/lirc_dev.h:24,
                 from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:65:
include/linux/interrupt.h:33:1: warning: "IRQ_HANDLED" redefined
In file included from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:64:
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/kcompat.h:128:1: warning: this is the location of the previous definition
In file included from include/linux/rcuref.h:36,
                 from include/linux/fs.h:12,
                 from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev/lirc_dev.h:24,
                 from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:65:
include/linux/interrupt.h:34:1: warning: "IRQ_RETVAL" redefined
In file included from /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:64:
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/kcompat.h:129:1: warning: this is the location of the previous definition
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c: In function `ir_probe':
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:435: error: `I2C_ALGO_BIT' undeclared (first use in this function)
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:435: error: (Each undeclared identifier is reported only once
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c:435: error: for each function it appears in.)
make[5]: *** [/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.o] Error 1
make[4]: *** [_module_/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r5'
make[3]: *** [lirc_i2c.o] Error 2
make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_i2c'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0'
make: *** [all] Error 2

I'm using a 2.6.14-gentoo-r5 genkernel-build kernel which has all neccessary features compiled in or has at least every relevant module loaded.

Although I don't think it has to do with missing kernelmodules, here are my i2c-related modules which are shown loaded in lsmod:

i2c_isa
i2c_core
i2c_nforce2
i2c_algo_bit
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-18 08:55:04 UTC
(In reply to comment #0)
> /var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_dev/lirc_dev.h:24,

^^^ That's definitely not 0.7.2. Anyway, neither of the versions currently in portage works with 2.6.14+ kernels...

*** This bug has been marked as a duplicate of 111820 ***