evdev.c doesn't compile

Peter Hutterer peter.hutterer at who-t.net
Wed Oct 7 22:37:12 PDT 2009


On Wed, Oct 07, 2009 at 11:43:26AM -0400, Adam Jackson wrote:
> On Wed, 2009-10-07 at 17:17 +0200, Fabrice DELENTE wrote:
> > Hello.
> > 
> > I'm in the process of ugrading to xorg 1.7.0.
> > 
> > I need to recompile xf86-input-evdev, but I get these errors:
> > 
> > evdev.c: In function 'EvdevReopenTimer':
> > evdev.c:192: error: too few arguments to function 'DisableDevice'
> > evdev.c:206: error: too few arguments to function 'DisableDevice'
> 
> commit 54628989356793828fcbb5f62a091b962c7da4f9
> Author: Peter Hutterer <peter.hutterer at who-t.net>
> Date:   Wed May 13 12:51:52 2009 +1000
> 
>     Use xf86DisableDevice instead of the DIX' DisableDevice.
>     
>     DisableDevice has changed API in xi2, xf86DisableDevice hasn't. So let's use
>     this one so we can have one version for master and xi2.
>     
>     Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> 
> You need a newer evdev driver.  2.2.99.1 should work, although that
> patch should probably be propagated to 2.2 branch too.

the 2.2 branch lacks support for ABI 7 (xserver 1.7) anyway, cherry-picking
this patch alone isn't enough. There's a few other patches that would have
to be cherry-picked and tested, a bit too much for the supposedly stable
branch. 2.2 will stay on 1.6 support only.

Cheers,
  Peter



More information about the xorg mailing list