LIRC compile problems Kernel 2.6.3

Hi

Can anybody help me, i've a (several) problem(s) during the compilation of Lirc0.7.4 on Kernel 2.6.3 (Mandrake 10.) on an embedded VIA Board

~/lirc-07.0pre4/drivers/lirc_dev/lirc_dev.c:87 error:parse error before "devfs_handle_t"

~/lirc-07.0pre4/drivers/lirc_dev/lirc_dev.c:102 dereferencing pointer to incomplete type

the code of lirc_dev.c looks ok to me

Does anybody know whether LIRC is supported for Kernel 2.6.x since I had some problems regarding the kernel sources as well ?

thanks

Robert

Reply to
Robert Probst
Loading thread data ...

LIRC distributions are a mess. There hasn't been a release in over a year(!). The current kernel is just beginning to to be supported.

formatting link
The real information is buried in the mailing list archive.
formatting link

(I use LIRC under 2.6. I'm still trying to figure out how to use two devices at once.)

--kyler

Reply to
Kyler Laird

Hi Robert,

Just grab the kernel patches from:

formatting link
And build the module inside the kernel tree. It's a lot easier than trying to build

2.6 modules stand-alone.

Regards,

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     damion@snapgear.com
 Click to see the full signature
Reply to
Damion de Soto

Hi Damion

Thanks for the "Kernel Patch Trick" it finally worked. I had to modify the lirc_serial.c as described in

formatting link
as well

kind regards

Robert

Reply to
Robert Probst

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.