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

标签: embedded

发表评论:

Powered by anycle 湘ICP备15001973号-1