‘action’的存储大小未知
来源:互联网 发布:淘宝点点官网 编辑:程序博客网 时间:2024/06/11 19:38
编译时遇到以下错误。
[root@centos-dh1 interrupt]# make
gcc -g -O2 -Wall -std=c99 -c -o interrupt.o interrupt.c
interrupt.c: 在函数‘s_catch_signals’中:
interrupt.c:33: 错误:‘action’的存储大小未知
interrupt.c:38: 警告:隐式声明函数‘sigemptyset’
interrupt.c:39: 警告:隐式声明函数‘sigaction’
interrupt.c:33: 警告:未使用的变量‘action’
make: *** [interrupt.o] 错误 1
[root@centos-dh1 interrupt]# vi Makefile
[root@centos-dh1 interrupt]#
关闭std=c99模式后就正常了。
[root@centos-dh1 interrupt]# make
gcc -g -O2 -Wall -c -o interrupt.o interrupt.c
gcc -lzmq interrupt.o -o interrupt
不知道是什么原因。先记录在这里,以后有时间再想想。
0 0
- ‘action’的存储大小未知
- 错误: ‘sem_union’的存储大小未知
- 令人头痛的linux编译错误 “未知存储大小"
- 创建一个动态空间存储未知大小的二维数组
- error C2036: “void *”: 未知的大小
- 读未知大小文件
- java socket读入未知大小inputstream的客户端
- C++如何使用fsteam一次读完未知大小的文件
- 大小端存储的问题
- 大小端存储的理解
- 存储的大小端问题
- 数据存储的大小端
- 从未知大小的n个数中取m个数,使各数被取出的概率相等
- C++创建动态空间的未知大小的二维数组、三维数组、多维数组
- 解决未知大小图片在已知容器中垂直居中的三种方法
- C语言中const分析(未知大小的全局变量数组声明出错)
- 未知大小的图片在div中水平垂直居中(拒绝使用table-cell)
- c++未知数组大小如何创建
- 配置 DataStage Operations Console
- mysql中排序再分页遇到的重复数据
- 【Unity Shader】第三节 纹理半透明---多个半透明面穿插
- 【Leetcode】78. Subsets
- 多线程详解
- ‘action’的存储大小未知
- Windows小技巧4——如何取消共享的文件夹
- git vim 保存退出
- PostMan-谷歌插件安装
- 数据结构(十一)——二叉树的遍历和建立
- python3-读写文件
- 深入理解DIP、IoC、DI以及IoC容器
- 哈
- 栈实现