当前位置:网站首页>gcc 编译报错
gcc 编译报错
2022-07-07 10:26:00 【qq_38781075】
报错信息
error: ‘S_IRWXU’ undeclared (first use in this function)
error: ‘S_IXGRP’ undeclared (first use in this function); did you mean ‘S_IRGRP’?
error: ‘S_IXOTH’ undeclared (first use in this function); did you mean ‘S_IROTH’?
error: ‘S_IROTH’ undeclared (first use in this function); did you mean ‘S_IRGRP’?
error: ‘S_IFSOCK’ undeclared (first use in this function); did you mean ‘S_IFDIR’?
error: ‘S_IFIFO’ undeclared (first use in this function); did you mean ‘S_IFMT’?
error: ‘S_IFMT’ undeclared (first use in this function); did you mean ‘__PMT’?
解决办法
头文件加上
#include <sys/stat.h>
边栏推荐
- 小红书微服务框架及治理等云原生业务架构演进案例
- Rationaldmis2022 advanced programming macro program
- 【滤波跟踪】捷联惯导纯惯导解算matlab实现
- The function of adding @ before the path in C #
- Tutorial on the principle and application of database system (011) -- relational database
- Up meta - Web3.0 world innovative meta universe financial agreement
- Introduction and application of smoothstep in unity: optimization of dissolution effect
- Epp+dis learning road (2) -- blink! twinkle!
- 2022 8th "certification Cup" China University risk management and control ability challenge
- Present pod information to the container through environment variables
猜你喜欢
Unity 贴图自动匹配材质工具 贴图自动添加到材质球工具 材质球匹配贴图工具 Substance Painter制作的贴图自动匹配材质球工具
zero-shot, one-shot和few-shot
百度数字人度晓晓在线回应网友喊话 应战上海高考英语作文
跨域问题解决方案
The left-hand side of an assignment expression may not be an optional property access.ts(2779)
超标量处理器设计 姚永斌 第8章 指令发射 摘录
111.网络安全渗透测试—[权限提升篇9]—[Windows 2008 R2内核溢出提权]
Explore cloud database of cloud services together
Superscalar processor design yaoyongbin Chapter 9 instruction execution excerpt
Xiaohongshu microservice framework and governance and other cloud native business architecture evolution cases
随机推荐
Flet tutorial 17 basic introduction to card components (tutorial includes source code)
C#中在路径前加@的作用
[shortest circuit] acwing1128 Messenger: Floyd shortest circuit
Fleet tutorial 15 introduction to GridView Basics (tutorial includes source code)
wallys/Qualcomm IPQ8072A networking SBC supports dual 10GbE, WiFi 6
超标量处理器设计 姚永斌 第9章 指令执行 摘录
HCIA复习整理
Fleet tutorial 14 basic introduction to listtile (tutorial includes source code)
Xiaohongshu microservice framework and governance and other cloud native business architecture evolution cases
数据库系统原理与应用教程(010)—— 概念模型与数据模型练习题
idea 2021中文乱码
zero-shot, one-shot和few-shot
SQL lab 1~10 summary (subsequent continuous update)
Simple network configuration for equipment management
防红域名生成的3种方法介绍
开发一个小程序商城需要多少钱?
When OSPF specifies that the connection type is P2P, it enables devices on both ends that are not in the same subnet to Ping each other
MATLAB實現Huffman編碼譯碼含GUI界面
How much does it cost to develop a small program mall?
Detailed explanation of debezium architecture of debezium synchronization