OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Lirc On Tetsu/eviljazz Kernel (2.4.20), Can't manage to compile the lirc module...
matthis
post Jun 18 2008, 03:58 AM
Post #1





Group: Members
Posts: 218
Joined: 12-February 06
From: Tokyo
Member No.: 9,124



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...

CODE
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


What do I need to get it to compile? Thanks for any help.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jun 18 2008, 05:59 AM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



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?
Go to the top of the page
 
+Quote Post
matthis
post Jun 18 2008, 06:37 AM
Post #3





Group: Members
Posts: 218
Joined: 12-February 06
From: Tokyo
Member No.: 9,124



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.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jun 18 2008, 12:36 PM
Post #4





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



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?
Go to the top of the page
 
+Quote Post
matthis
post Jun 19 2008, 03:18 AM
Post #5





Group: Members
Posts: 218
Joined: 12-February 06
From: Tokyo
Member No.: 9,124



Same errors for 0.8.3 blink.gif
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jun 19 2008, 07:17 AM
Post #6





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I'm out of ideas, then. Sorry sad.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 10:50 AM