Mailing List Archive

mouseemu does not compile
Hi,


I am trying to emerge mouseemu on an iBook G4 running kernel
2.6.12.

emerge mouseemu;

complains that linux/uinput.h cannot be found. So I try to help
via:

ln -s /usr/src/include/linux/uinput.h /usr/include/linux/ ;
emerge mouseemu;

which gives me:

In file included from mouseemu.c:28:
/usr/include/linux/uinput.h:159: Fehler: Feld »id« hat unvollständigen Typen
mouseemu.c: In function `report_click':
mouseemu.c:83: Fehler: »EV_SYN« nicht deklariert (erste Benutzung in dieser Funktion)
mouseemu.c:83: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
mouseemu.c:83: Fehler: für jede Funktion in der er auftritt.)
mouseemu.c:83: Fehler: »SYN_REPORT« nicht deklariert (erste Benutzung in dieser Funktion)
mouseemu.c: In function `report_scroll':
mouseemu.c:105: Fehler: »EV_SYN« nicht deklariert (erste Benutzung in dieser Funktion)
mouseemu.c:105: Fehler: »SYN_REPORT« nicht deklariert (erste Benutzung in dieser Funktion)
mouseemu.c: In function `register_inputhandler':
mouseemu.c:270: Fehler: »EVIOCGRAB« nicht deklariert (erste Benutzung in dieser Funktion)
mouseemu.c: In function `unregister_inputhandler':
mouseemu.c:287: Fehler: »EVIOCGRAB« nicht deklariert (erste Benutzung in dieser Funktion)
mouseemu.c: In function `uinput_setup':
mouseemu.c:443: Fehler: »EV_SYN« nicht deklariert (erste Benutzung in dieser Funktion)
make: *** [all] Fehler 1


So... what can I do? I have uinput compiled in my kernel and I
have already tried compiling it as a module, but that did not
help. Could it be that mouseemu is not compatible to the 2.6.x
kernels? I can hardly imagine.

Thanks for any hints!
--
gentoo-ppc-user@gentoo.org mailing list
Re: mouseemu does not compile [ In reply to ]
On Mon, 23 May 2005 16:02:05 +0200
Markus Moebs <wonderful_spam@gmx.de> wrote:

> So... what can I do? I have uinput compiled in my kernel and I
> have already tried compiling it as a module, but that did not
> help. Could it be that mouseemu is not compatible to the 2.6.x
> kernels? I can hardly imagine.

I think you just have to emerge linux-headers...

--
Colin
--
gentoo-ppc-user@gentoo.org mailing list
Re: mouseemu does not compile [ In reply to ]
* Colin Leroy <colin@colino.net> [2005-05-23]:
> On Mon, 23 May 2005 16:02:05 +0200
> Markus Moebs <wonderful_spam@gmx.de> wrote:
>
> > So... what can I do? I have uinput compiled in my kernel and I
> > have already tried compiling it as a module, but that did not
> > help. Could it be that mouseemu is not compatible to the 2.6.x
> > kernels? I can hardly imagine.
>
> I think you just have to emerge linux-headers...

Uhmm, sure. This is stupid. I will nevertheless inform the
maintainer of mouseemu to put this dep into his ebuild. Probably
it checks for linux-headers but not for the version because for
some reason I had 2.4-x headers installed...

Thanks for the quick help!
--
gentoo-ppc-user@gentoo.org mailing list
Re: mouseemu does not compile [ In reply to ]
On 23 May 2005 at 16h05, Markus Moebs wrote:

Hi,

> Uhmm, sure. This is stupid. I will nevertheless inform the
> maintainer of mouseemu to put this dep into his ebuild.

Yes, good idea... Cc: me on the bug if you open one.

Thanks,
--
Colin
--
gentoo-ppc-user@gentoo.org mailing list