On Wed, 2009-02-25 at 19:55 -0700, 王彥程 wrote:
> hello,
>     I downloaded the xf86-input-evtouch-0.8.8.tar.bz2 and try to make
> evtouch driver in moblin2.
>     but I always get the error message as bellow:
>     evtouch.c:33:25: error: xf86Version.h: No such file or directory
>     evtouch.c:34:49: error: missing binary operator before token "("
>     evtouch.c:77:25: error: xf86OSmouse.h: No such file or directory
>     evtouch.c:142: error: 'XF86_VERSION_CURRENT' undeclared here (not in a
> function)

These are symptoms of the code needing to be ported.

>     evtouch.c: In function 'DeviceInit':
>     evtouch.c:657: warning: passing argument 3 of
> 'InitValuatorClassDeviceStruct'
> makes integer from pointer without a cast
>     evtouch.c:657: error: too many arguments to function
> 'InitValuatorClassDeviceStruct'
>     evtouch.c:676: error: expected ')' before ';' token
>     evtouch.c:704: error: invalid use of void expression
>     evtouch.c:704: error: too few arguments to function
> 'xf86InitValuatorAxisStruct'
>     evtouch.c:704: error: expected ';' before '}' token
>     make[1]: *** [evtouch_drv_la-evtouch.lo] Error 1
>     make[1]: Leaving directory `/home/xf86-input-evtouch-0.8.8'
>     make: *** [all] Error 2
> 
>     and I had installed:
>     xorg-x11-server-devel-1.5.99.3-9.3.moblin2.i586
>     xorg-x11-server-source-1.5.99.3-9.3.moblin2.i586
> 
>     btw, I downloaded evtouch-0.8.8.tar.gz as well, and use the
> evtouch_drv.so in this tarball file.
>     but always get the error message in the /var/log/xorg.0.log as bellow:
>     ...(ignore)
>     (EE) module ABI major version (2) doesn't match the server's version (4)
>     (II) UnloadMoudle: "evtouch"
>     (II) Unloading /usr/lib/xorg/modules/input/evtouch_drv.so
>     (EE) Failed to load module "evtouch" (module requirement mismatch, 0)
>     (EE) No input driver matching 'evtouch'
>     ...(ignore)
> 
>     so I think if I get the evtouch source and make it in the moblin2, maybe
> can solve this problem...

Just packaging the source will just result in a broken package.  What is
needed is for somebody to port the code to the new X.

I haven't looked, but perhaps somebody has done this already for the new
Ubuntu or Fedora 11?

    --rusty

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to