LIRC compile problems Kernel 2.6.3

Apr 20, 2004 3 Replies

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


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

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: snipped-for-privacy@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web:

formatting link
--- Free Embedded Linux Distro at
formatting link
---

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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required