Comments (6)
same problem on Ubuntu 15.10.
Any workaround?
from xserver-xorg-input-synaptics.
+1 this, 15.10 trying to build a newer version of the preinstalled driver. Same error.
from xserver-xorg-input-synaptics.
Same issue in 15.10 under Gnome 3.16.4
from xserver-xorg-input-synaptics.
Same issue in 15.10-gnome
from xserver-xorg-input-synaptics.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xserver-xorg-input-synaptics.