iberianpig / xSwipe

Multitouch gestures with synaptics driver on X11, Linux
452 stars 56 forks source link

Error on sudo make command #39

Closed ToJen closed 6 years ago

ToJen commented 8 years ago

I get this error when I run sudo make:

me:xserver-xorg-input-synaptics$ make
make  all-recursive
make[1]: Entering directory '/home/me/xserver-xorg-input-synaptics'
Making all in include
make[2]: Entering directory '/home/me/xserver-xorg-input-synaptics/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/me/xserver-xorg-input-synaptics/include'
Making all in src
make[2]: Entering directory '/home/me/xserver-xorg-input-synaptics/src'
  CC       synproto.lo
In file included from /usr/include/string.h:630:0,
                 from /usr/include/xorg/os.h:53,
                 from /usr/include/xorg/misc.h:116,
                 from /usr/include/xorg/xf86str.h:37,
                 from /usr/include/xorg/xf86.h:44,
                 from /usr/include/xorg/xf86Xinput.h:54,
                 from synproto.h:36,
                 from synproto.c:24:
/usr/include/xorg/os.h:590:1: error: expected identifier or ‘(’ before ‘__extension__’
 strndup(const char *str, size_t n);
 ^
Makefile:515: recipe for target 'synproto.lo' failed
make[2]: *** [synproto.lo] Error 1
make[2]: Leaving directory '/home/me/xserver-xorg-input-synaptics/src'
Makefile:511: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/me/xserver-xorg-input-synaptics'
Makefile:420: recipe for target 'all' failed
make: *** [all] Error 2
ToJen commented 8 years ago

I was on that site before I found the GitHub instructions. Check this out, it worked for me: https://askubuntu.com/questions/768246/customise-multitouch-gestures-on-16-04/768681?noredirect=1#comment1149220_768681

On Mon, May 9, 2016 at 4:09 PM, Rik Bril notifications@github.com wrote:

hey, i've got the exact same problem, I found this http://mpiannucci.com/view/multitouchgesture where they solved a similar problem although I have not been able to solve it,

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/iberianpig/xSwipe/issues/39#issuecomment-217951124