专栏中心

EEPW首页 > 专栏 > 移植tslib出现/usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments

移植tslib出现/usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments

发布人:machinnneee 时间:2021-05-01 来源:工程师 发布文章

在移植的时候,可能ubuntu版本不同,会出现open错误。

make后的错误如下

image.png

去ts-calibrate.c中查看open地方,确认缺少权限

image.png

添加777权限

编译通过。

专栏文章内容及配图由作者撰写发布,仅供工程师学习之用,如有侵权或者其他违规问题,请联系本站处理。 联系我们

关键词: tslib needs 3 arguments

相关推荐

嵌入式linux新手入门手记-TSLIB和支持USB接口单点触摸屏

嵌入式系统 2015-08-21
更多 培训课堂
更多 焦点
更多 视频

技术专区