There is an error while building tslib.
usr/include/x86_64-linux-gnu/bits/fcntl2.h:51:24: error: call to
That because of new version gcc:
vim tests/ts_calibrate.c :
if ((calfile = getenv("TSLIB_CALIBFILE")) != NULL) {
cal_fd = open (calfile, O_CREAT | O_RDWR, 0777);
} else {
cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR, 0777);
}