LIRC compile problems Kernel 2.6.3

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
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

Re: LIRC compile problems Kernel 2.6.3

Quoted text here. Click to load it

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.
    http://www.lirc.org/faq.html
The real information is buried in the mailing list archive.
    http://sourceforge.net/mailarchive/forum.php?forum=lirc-list

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

--kyler

Re: LIRC compile problems Kernel 2.6.3
Hi Robert,

Quoted text here. Click to load it
Just grab the kernel patches from:
http://flameeyes.web.ctonet.it/downloads.html
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
We've slightly trimmed the long signature. Click to see the full one.
Re: LIRC compile problems Kernel 2.6.3
Hi Damion

Thanks for the "Kernel Patch Trick" it finally worked.
I had to modify the lirc_serial.c as described in
http://unusedino.de/lirc/lirc_static.html as well

kind regards

Robert

Site Timeline