make[2]: *** [ts_calibrate.o] Error 1
make[2]: Leaving directory `/root/soft/tslib/ts_lib/tslib/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/soft/tslib/ts_lib/tslib'
make: *** [all] Error 2
解决办法:将open函数的修改如下:
cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR ,0);