新闻  |   论坛  |   博客  |   在线研讨会
移植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 16:20:03    阅读:1823   发布文章

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

make后的错误如下

image.png

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

image.png

添加777权限

编译通过。

*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。

参与讨论
登录后参与讨论
推荐文章
最近访客