error: ‘SA_INTERRUPT’ undeclared (first use in this function)
来源:互联网 发布:就业数据网报系统 编辑:程序博客网 时间:2024/05/19 09:04
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_开头的宏定义很不好和信号进行区分,容易和信号混到一块。
1 0
- error: ‘SA_INTERRUPT’ undeclared (first use in this function)
- ‘SA_INTERRUPT’ undeclared (first use in this function)的解决办法
- [kernel]: error: ‘PATH_MAX’ undeclared (first use in this function)
- error: 'FILE' undeclared (first use in this function)
- error: 'FALSE' undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- error: ‘IPPROTO_RAW’ undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
- [kernel]: error: ‘PATH_MAX’ undeclared (first use in this function)
- error: ‘PATH_MAX’ undeclared (first use in this function)
- 问题解决: error: ‘SCM_CREDENTIALS’ undeclared (first use in this function)
- NF_IP_PRE_ROUTING’ undeclared (first use in this function)
- 'O_BINARY' undeclared (first use in this function)
- `pid_t' undeclared (first use in this function)
- error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)和error: 'TASK_NORMAL' undeclare
- drivers/video/console/vgacon.c:486: error: 'PCIMEM_BASE' undeclared (first use in this function)
- fs/binfmt_aout.c:256:30: error: 'SEGMENT_SIZE' undeclared (first use in this function)
- Android中的Spinner的用法详解
- andorid的ListView图文混排
- 面试趣味问题
- Charles 的使用教程
- AlertDiadig对话框的几种常见的使用方式
- error: ‘SA_INTERRUPT’ undeclared (first use in this function)
- ubuntu 14.04下安装配置caffe
- 无法定位程序输入点curl—easy—pause于动态链接库 libcurl.dll上
- (转)情商管理:高EQ的十种表现
- linux特殊权限SetUID-36
- Java 48个关键字
- strut2没有XML提示信息解决办法
- 纯js 2048游戏,js 2048游戏实现,无上限的2048游戏,有道具的2048游戏
- 远程控制问题集锦(你的凭据不工作,之前用于连接到(服务器IP)的凭据无法工作,请输入新的凭据)