Giter VIP home page Giter VIP logo

Comments (6)

mscalone avatar mscalone commented on August 28, 2024

same problem on Ubuntu 15.10.
Any workaround?

from xserver-xorg-input-synaptics.

Anfa-am avatar Anfa-am commented on August 28, 2024

+1 this, 15.10 trying to build a newer version of the preinstalled driver. Same error.

from xserver-xorg-input-synaptics.

mdotshell avatar mdotshell commented on August 28, 2024

Same issue in 15.10 under Gnome 3.16.4

from xserver-xorg-input-synaptics.

ruilinchu avatar ruilinchu commented on August 28, 2024

Same issue in 15.10-gnome

from xserver-xorg-input-synaptics.

aruth2 avatar aruth2 commented on August 28, 2024

The workaround is to add
#include <xorg-server.h>
to the top of synproto.h

This let make finish without errors (but with warnings).

from xserver-xorg-input-synaptics.

Dev-Dipesh avatar Dev-Dipesh commented on August 28, 2024

Check your error message for file name and line number. In your case -

/usr/include/xorg/os.h:541:1:....

File - os.h
File Path - /usr/include/xorg/os.h
Line No - 541

Use your favourite text editor to open the file -

sudo vim /usr/include/xorg/os.h

So 541 is the line which is causing issue, comment it. Now you have to comment out line 540 too, why? The reason is it's a combined logic inside the if block as you can see in below:

#ifndef HAVE_STRNDUP <----- If block starts
extrn _X_EXPORT char * <----------- Comment out this line using // in front
strndup(const char *str, size_t n); <----------- Comment out this line using // in front
#endif <------ If blocks ends

from xserver-xorg-input-synaptics.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.