Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Can not compile lirc_i2c

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
deribin
n00b
n00b
Posts: 71
Joined: Mon Feb 03, 2003 9:06 am
Location: Prague

Can not compile lirc_i2c

  • Quote

Post by deribin » Mon Oct 31, 2005 8:19 pm

I'm trying to buld lirc for my Hauppauge PVR-350.
I have LIRC_OPTS="--with-driver=hauppauge" and when I'm trying to make I got an error like:

Code: Select all

make -f scripts/Makefile.build obj=/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c
  gcc -m32 -Wp,-MD,/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/.lirc_i2c.o.d  -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-pointer -pipe -msoft-float -mpreferred-stack-boundary=2  -march=i686  -Iinclude/asm-i386/mach-default   -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/../.. -I /lib/modules/2.6.14-gentoo/build//include/  -DMODULE -DKBUILD_BASENAME=lirc_i2c -DKBUILD_MODNAME=lirc_i2c -c -o /var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/.tmp_lirc_i2c.o /var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/lirc_i2c.c
In file included from include/linux/rcuref.h:36,
                 from include/linux/fs.h:12,
                 from /var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_dev/lirc_dev.h:24,
                 from /var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/lirc_i2c.c:58:
include/linux/interrupt.h:30: error: conflicting types for `irqreturn_t'
/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/kcompat.h:166: error: previous declaration of `irqreturn_t'

kernel 2.6.14
Any help?
Top
deribin
n00b
n00b
Posts: 71
Joined: Mon Feb 03, 2003 9:06 am
Location: Prague

  • Quote

Post by deribin » Tue Nov 01, 2005 4:27 am

Just for anybody who don't want to dig though the lirc source code to fix a bug -- you can just switch to the latest 2.6.13 kernel buld and compile lirc w/o problems.
Top
tito
n00b
n00b
Posts: 7
Joined: Tue May 31, 2005 1:44 am

  • Quote

Post by tito » Wed Nov 02, 2005 5:00 pm

deribin wrote:Just for anybody who don't want to dig though the lirc source code to fix a bug -- you can just switch to the latest 2.6.13 kernel buld and compile lirc w/o problems.
Thats true, but should not be the right solution. Actually I can confirm problems with lirc 0.7.2 on gentoo-sources 2.6.14. Here is my "emerge -av lirc"-output:

Code: Select all

[...]
/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/lirc_i2c.c:426: error: for each function it appears in.)
/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/lirc_i2c.c: In function `ir_probe':
/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/lirc_i2c.c:506: error: `I2C_ALGO_BIT' undeclared (first use in this function)
make[5]: *** [/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c/lirc_i2c.o] Error 1
make[4]: *** [_module_/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.14-gentoo'
make[3]: *** [lirc_i2c.o] Error 2
make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers/lirc_i2c'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.2/work/lirc-0.7.2'
make: *** [all] Error 2
In my make.conf I have:

Code: Select all

LIRC_OPTS="--with-x --with-driver=hauppauge"
Does anyone have a clue where the problem might be?

Thanks in advance.
Top
tito
n00b
n00b
Posts: 7
Joined: Tue May 31, 2005 1:44 am

  • Quote

Post by tito » Wed Nov 02, 2005 10:33 pm

Although it's still not a nice solution: try the cvs-version of lirc (v.0.7.3pre1). It works with gentoo-sources 2.6.14.

HTH
Top
dnmnz
n00b
n00b
User avatar
Posts: 14
Joined: Wed Aug 03, 2005 10:49 am
Location: Amsterdam, Netherlands

  • Quote

Post by dnmnz » Thu Nov 03, 2005 3:36 pm

Well, first of all, this is not really a solution, is it? I'm having the same problem, and I don't really like using CVS builds....
AMD Athlon64 3200+ Socket 754
MSI K8MM-V
1GB DDR400 Twinmos
160GB WD SATA
Top
tito
n00b
n00b
Posts: 7
Joined: Tue May 31, 2005 1:44 am

  • Quote

Post by tito » Thu Nov 03, 2005 3:49 pm

dnmnz wrote:Well, first of all, this is not really a solution, is it? I'm having the same problem, and I don't really like using CVS builds....
I agree on this, but obviously there is no other one right now.
Top
C1REX
l33t
l33t
User avatar
Posts: 788
Joined: Fri Jan 02, 2004 2:07 am
Location: Poland/UK

  • Quote

Post by C1REX » Thu Nov 03, 2005 6:51 pm

deribin wrote:Just for anybody who don't want to dig though the lirc source code to fix a bug -- you can just switch to the latest 2.6.13 kernel buld and compile lirc w/o problems.
I think this is the best solution. Easy and clean.
CLICK HERE to help move gentoo up on distrowatch.

If you like Gentoo you can thank devs here - https://www.gentoo.org/donate/
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic