LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Lirc 0.80 compilation issues (https://www.linuxquestions.org/questions/slackware-14/lirc-0-80-compilation-issues-473973/)

thugic 08-15-2006 03:31 AM

Lirc 0.80 compilation issues
 
Hello Slackers!
I've posted this thread in the Software forum also, but no-one seems to be able to answer me, so I thought that this forum could be more productive ;) Sooooo..... let this short and boring story begin!
I have a nice USB RF Remote Receiver and its Controller made by X10.
I haven't ever tried to install it nor to make it work with Linux but in the last days I have some spare time thus I'm doing my best to use my box without a keyboard and eventually without a mouse.
Now, I read some tutorials and compiled the ati_remote and ati_remote2 into the kernel; after that I ran xev and started randomly pressing buttons on the remote: "bingo! It was showing the keycodes!"!
Well, now I knew the system was receiving the radio signals sent by the remote control but a new problem came in: how to make it interact with the box?
At first I thought I could use Lineakd thing but when I installed it I didn't know how to manage to get it work, the only instructions I found were written in German (ps: anyone from Germany that can translate that page for me? ), then I thought of Lirc and its KDE's implementation called "Lirc Server", that would have allowed me to to almost everything in few and simple steps!
But, when I started compiling Lirc-0.80 it gave me an error:
Code:


/home/thug/Desktop/lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c:1183: error: unknown field `owner' specified in initializer /home/thug/Desktop/lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c:1183: warning: initialization from incompatible pointer type make[5]: *** [/home/thug/Desktop/lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.o] Error 1 make[4]: *** [_module_/home/thug/Desktop/lirc-0.8.0/drivers/lirc_atiusb] Error 2 make[4]: Leaving directory `/usr/src/linux-2.6.17.1' make[3]: *** [lirc_atiusb.o] Error 2 make[3]: Leaving directory `/home/thug/Desktop/lirc-0.8.0/drivers/lirc_atiusb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/thug/Desktop/lirc-0.8.0/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/thug/Desktop/lirc-0.8.0' make: *** [all] Error 2

so I couldn't go on with the installation...
Is there any way to fix this error? I tried also to install a previuos version but it didn't work.
Any idea about how to get Lirc working or to get my remote operative under Linux?
(I'm using Slackware 10.2, KDE 3.5.2, Kernel-2.6.17.1, a lot of coffee )

gnashley 08-16-2006 09:20 AM

I found lots of English documentation for lineakd and lineakconfig here:
http://lineak.sourceforge.net/index.php?nav=docs

I didn't have any trouble compiling these. There is a newer version of lineakd which can be sued with lineaksetup(java).
The older 0.4 version of lineakd can be configured with lineakconfig(GTK-1.2).

thugic 08-19-2006 07:37 PM

When it comes to configure it for a Multimedia Keyboard, Lineakd is ok, but the issues start when I got to make it interact with my Remote... :(

gnashley 08-20-2006 01:39 PM

Erors about incompatible pointer types are sometimes overcome by using an older compiler -or perhaps you have the wrong kernel-headers.


All times are GMT -5. The time now is 12:04 AM.