Author Topic: Lirc On Tetsu/eviljazz Kernel (2.4.20)  (Read 3963 times)

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
Lirc On Tetsu/eviljazz Kernel (2.4.20)
« on: June 18, 2008, 07:58:01 am »
As far as I know we don't have a working lirc module for 2.4.20 on the Sharp/Cacko ROM.

I tried to build Lirc 0.8.2

1.  ./configure --host=i686 arm=arm-gnu-linux --with-kerneldir=/home/mat/Desktop/zaurus-kernel-2.4.20-v55/linux/ --prefix=/home/mat/Desktop/lirc-arm/ --with-driver=sa1100

2. make ends with these errors...

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']lirc_sir.c:139: `IRQ_Ser2ICP' undeclared here (not in a function)
lirc_sir.c: In function `on':
lirc_sir.c:242: `PPSR' undeclared (first use in this function)
lirc_sir.c:242: (Each undeclared identifier is reported only once
lirc_sir.c:242: for each function it appears in.)
lirc_sir.c:242: `PPC_TXD2' undeclared (first use in this function)
lirc_sir.c: In function `off':
lirc_sir.c:247: `PPSR' undeclared (first use in this function)
lirc_sir.c:247: `PPC_TXD2' undeclared (first use in this function)
lirc_sir.c: In function `lirc_write':
lirc_sir.c:362: `Ser2UTCR3' undeclared (first use in this function)
lirc_sir.c:383: `Ser2UTSR0' undeclared (first use in this function)
lirc_sir.c:383: `UTSR0_RID' undeclared (first use in this function)
lirc_sir.c:383: `UTSR0_RBB' undeclared (first use in this function)
lirc_sir.c:383: `UTSR0_REB' undeclared (first use in this function)
lirc_sir.c:385: `UTCR3_RXE' undeclared (first use in this function)
lirc_sir.c:385: `UTCR3_RIE' undeclared (first use in this function)
lirc_sir.c: In function `sir_interrupt':
lirc_sir.c:624: `Ser2UTSR0' undeclared (first use in this function)
lirc_sir.c:629: `UTSR0_EIF' undeclared (first use in this function)
lirc_sir.c:635: `Ser2UTSR1' undeclared (first use in this function)
lirc_sir.c:637: `UTSR1_FRE' undeclared (first use in this function)
lirc_sir.c:639: `UTSR1_ROR' undeclared (first use in this function)
lirc_sir.c:641: `UTSR1_PRE' undeclared (first use in this function)
lirc_sir.c:645: `Ser2UTDR' undeclared (first use in this function)
lirc_sir.c:650: `UTSR0_RFS' undeclared (first use in this function)
lirc_sir.c:650: `UTSR0_RID' undeclared (first use in this function)
lirc_sir.c:663: `UTSR1_RNE' undeclared (first use in this function)
lirc_sir.c:675: `UTSR0_TFS' undeclared (first use in this function)
lirc_sir.c:683: `UTSR0_RBB' undeclared (first use in this function)
lirc_sir.c:683: `UTSR0_REB' undeclared (first use in this function)
lirc_sir.c:616: warning: `data' might be used uninitialized in this function
lirc_sir.c: In function `init_hardware':
lirc_sir.c:875: `Ser2HSCR0' undeclared (first use in this function)
lirc_sir.c:877: `Ser2UTCR0' undeclared (first use in this function)
lirc_sir.c:878: `Ser2UTCR1' undeclared (first use in this function)
lirc_sir.c:879: `Ser2UTCR2' undeclared (first use in this function)
lirc_sir.c:880: `Ser2UTCR3' undeclared (first use in this function)
lirc_sir.c:881: `Ser2UTCR4' undeclared (first use in this function)
lirc_sir.c:883: `Ser2UTDR' undeclared (first use in this function)
lirc_sir.c:884: `Ser2UTSR0' undeclared (first use in this function)
lirc_sir.c:885: `Ser2UTSR1' undeclared (first use in this function)
lirc_sir.c:889: `PPDR' undeclared (first use in this function)
lirc_sir.c:889: `PPC_TXD2' undeclared (first use in this function)
lirc_sir.c:890: `PSDR' undeclared (first use in this function)
lirc_sir.c:898: `HSCR0_HSSP' undeclared (first use in this function)
lirc_sir.c:901: `UTSR0_RID' undeclared (first use in this function)
lirc_sir.c:901: `UTSR0_RBB' undeclared (first use in this function)
lirc_sir.c:901: `UTSR0_REB' undeclared (first use in this function)
lirc_sir.c:904: `UTCR0_1StpBit' undeclared (first use in this function)
lirc_sir.c:904: `UTCR0_7BitData' undeclared (first use in this function)
lirc_sir.c:909: `UTCR4_HPSIR' undeclared (first use in this function)
lirc_sir.c:909: `UTCR4_Z1_6us' undeclared (first use in this function)
lirc_sir.c:912: `UTCR3_RXE' undeclared (first use in this function)
lirc_sir.c:912: `UTCR3_RIE' undeclared (first use in this function)
lirc_sir.c: In function `drop_hardware':
lirc_sir.c:1015: `Ser2UTCR3' undeclared (first use in this function)
lirc_sir.c:1017: `Ser2UTCR0' undeclared (first use in this function)
lirc_sir.c:1018: `Ser2UTCR1' undeclared (first use in this function)
lirc_sir.c:1019: `Ser2UTCR2' undeclared (first use in this function)
lirc_sir.c:1020: `Ser2UTCR4' undeclared (first use in this function)
lirc_sir.c:1023: `Ser2HSCR0' undeclared (first use in this function)
make[5]: *** [lirc_sir.o] Error 1
[/div]

What do I need to get it to compile? Thanks for any help.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Lirc On Tetsu/eviljazz Kernel (2.4.20)
« Reply #1 on: June 18, 2008, 09:59:00 am »
It kind of looks like you're missing a header. Could you post the whole output, or did you post from exactly where the errors started?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
Lirc On Tetsu/eviljazz Kernel (2.4.20)
« Reply #2 on: June 18, 2008, 10:37:27 am »
Dear Capn_Fish,

Thank you for your reply.
Yes I did post from where the errors started ... no such thing as ***.h missing or any other helpful hint.

(Maybe I need to disable something in ./configure?)


PS: I tried with lirc version 0.6.6 (which has apparently been succesfully build for 2.4.18), but got the same errors.
« Last Edit: June 18, 2008, 10:40:06 am by matthis »

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Lirc On Tetsu/eviljazz Kernel (2.4.20)
« Reply #3 on: June 18, 2008, 04:36:51 pm »
I don't know. It might be one of the many cross-compiling issues. I seem to recall having this issue before (no missing headers, etc.), but I can't remember what caused it. It may have been a CFLAG or a missing dep (you've double-checked that you have all the necessary libs and the correct versions, right?).

EDIT: I just checked the home page, and it says something-or-other is broken in 0.8.2. Maybe try 0.8.3?
« Last Edit: June 18, 2008, 04:39:03 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
Lirc On Tetsu/eviljazz Kernel (2.4.20)
« Reply #4 on: June 19, 2008, 07:18:24 am »
Same errors for 0.8.3  

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Lirc On Tetsu/eviljazz Kernel (2.4.20)
« Reply #5 on: June 19, 2008, 11:17:49 am »
I'm out of ideas, then. Sorry
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo