error: 'ENOSYS' undeclared (first use in this function)
2017-09-15 15:38
399 查看
/************************************************************************ * error: 'ENOSYS' undeclared (first use in this function) * 说明: * 编译mt7601u驱动的时候遇到的编译错误。 * * 2017-9-15 深圳 龙华樟坑村 曾剑锋 ***********************************************************************/ 一、参考文档: [PATCH] of: include errno.h https://lists.gt.net/linux/kernel/1447672 二、解决办法: include/linux/of.h中添加#include <linux/errno.h>
相关文章推荐
- apache源码编译时报错ssl_engine_init.c:546: error: 'STACK' undeclared (first use in this function)
- 问题解决: error: ‘SCM_CREDENTIALS’ undeclared (first use in this function)
- error: ‘SA_INTERRUPT’ undeclared (first use in this function)
- qemu-2.4.0编译时出错:error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)
- error: ‘PATH_MAX’ undeclared (first use in this function)
- [kernel]: error: ‘PATH_MAX’ undeclared (first use in this function)
- MySQL 编译出现 error: 'SSL_OP_NO_COMPRESSION' undeclared (first use in this function) 错误
- linux C 编译错误 error: ‘EOWNERDEAD’ undeclared (first use in this function)
- Linux驱动编程编译模块时出现 error:'TASK_NORMAL' undeclared (first use in this function
- mainarg.c:7:20: error: ‘argc’ 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)
- error: 'FILE' undeclared (first use in this function)
- vmware.c:1226: error: ‘XML_PARSE_HUGE’ undeclared (first use in this function)
- Centos安装fabric 报错:error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)
- error: 'FALSE' undeclared (first use in this function)
- check_http.c:312: error: ‘ssl_version’ undeclared (first use in this function)
- 编译minicom出现问题:error: ‘BC’ undeclared (first use in this function)