苗火 Nicholas
[embedded]usr/include/x86_64-linux-gnu/bits/fcntl2.h:51:24: error: call to
2017-5-4 萧


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);
}

发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容