linux 2.4.36

error: ‘SA_INTERRUPT’ undeclared (first use in this function)

从2.6.24以后删除了SA_INTERRUPT,使用IRQF_DISABLED代替,因此将SA_INTERRUPT修改为IRQF_DISABLED就可以解决该编译错误。

因为SA_开头的宏定义很不好和信号进行区分,容易和信号混到一块。

error: ‘SA_INTERRUPT’ undeclared (first use in this function)相关推荐

  1. 【c语言 gcc9.1.0环境下编译报错】error: ‘true’ undeclared (first use in this function)

    问题 网上验证一个单链表是否有环的c语言demo,放到gcc9.1.0的环境下编译,发现编译报错: error: 'true' undeclared (first use in this functi ...

  2. Android之ndk-build出现c:28:51: error: ‘get_string‘ undeclared here (not in a function)解决办法

    1 problem ndk-build error: 'get_string' undeclared here (not in a function) 2 resolve jstring get_st ...

  3. 安装nginx时关系依赖库openssl.lib时,出现:error: 'NR_syscalls' undeclared (first use in this function)

    安装nginx时关系依赖库openssl.lib时,出现:error: 'NR_syscalls' undeclared (first use in this function) 解决方案:根据arc ...

  4. 编译内核遇到:error: ‘ovl_v1_fs_type’ undeclared (first use in this function)错误

    如遇到如下错误: fs/overlayfs/super.c: In function 'ovl_init': fs/overlayfs/super.c:1331:30: error: 'ovl_v1_ ...

  5. /phalcon.zep.c:130892: error: ‘ZEND_FE_END’ undeclared here (not in a function)

    /phalcon.zep.c:130892: error: 'ZEND_FE_END' undeclared here (not in a function) 因为centos6.5上的最新php版本 ...

  6. error: 'FILE' undeclared (first use in this function)

    error: 'FILE' undeclared (first use in this function) 今天在打trace调试底层代码的时候添加: {FILE* fp = fopen(" ...

  7. Error ‘false‘ undeclared (first use in this function)解决

    Error: 'false' undeclared (first use in this function)解决 在用DEVC++敲代码时,对如下程序报错 bool ok(int t){//判定第t个 ...

  8. error: ‘CLOCK_MONOTONIC‘ undeclared (first use in this function)

    错误信息: /home/xx/test/main.c: In function 'main': /home/xx/test/main.c:37:21: error: storage size of ' ...

  9. error: ‘FILE‘ undeclared (first use in this function)

    问题描述: 解决: 1,可能没有加入#include<stdio.h> 2, 加入了头文件依旧错误. 可能就是因为 __ LINE__和__FILE__ 都是两个下划线,写成了一个下划线

  10. fs/binfmt_aout.c:270: error: 'SEGMENT_SIZE' undeclared

    Android主要有6部分 Applications (java) -------------------------------- FrameWork (java) ================ ...

最新文章

  1. Orange‘s 一个操作系统的实现--Bochs遇到的问题
  2. 推荐系统的实践与思考(上篇)【转】
  3. php 回车键触发事件,回车触发事件 - 范思哲思考者的个人空间 - OSCHINA - 中文开源技术交流社区...
  4. boost::mpi模块围绕环传递数据的通信器的测试
  5. 牛客网-剑指offer 第一题(二维数组中的查找)
  6. Curator实现分布式锁的基本原理-LockInternals.internalLockLoop
  7. ssl1715-计算面积【差积】
  8. 【机器学习】监督学习--KNN(最近邻)算法
  9. 26种对付反调试的方法
  10. mysql忽略大小写 chmod_Ubuntu18.04下Mysql8.0.15关闭大小写敏感
  11. 深度学习画图软件收集
  12. 集体智慧编程——协同过滤
  13. 基于javaweb+mysql的在线购书商城系统(java+jsp+mysql+servlert+ajax)
  14. 打印机加粉通用模版:打开打印机、取出硒鼓,然后加粉
  15. Java性能优化的50个细节(珍藏版)
  16. PMP课程笔记:第5章 项目范围管理
  17. 【转载】使用theano进行深度学习实践(一) - CSDN博客
  18. LearnOpenGL14——混合以及处理半透明物体
  19. 达芬奇系列教程1——安装及屏幕显示字体太小问题解决
  20. JS - 实现word预览功能

热门文章

  1. 在 Vue 中是使用插槽
  2. Centos7.4源码搭建zabbix3.4.11企业级监控
  3. 在Android中实现一个简易的Http服务器
  4. 关于虚拟机virtualbox使用无线卡上网的设置
  5. plusgantt的项目管理系统实战开发最全课程
  6. 窗体点击,空白处隐藏(stopPropagation)
  7. js 中 ! + - ~ 符号和匿名函数
  8. (十四)java版spring cloud+spring boot+redis社交电子商务平台-在springboot中用redis实现消息队列...
  9. 开发者论坛一周精粹(第六十三期) WHM自动脚本修复ssh问题
  10. Nagios 3 Centreon 2 RC5 安装与配置(1)