/********************************************************************************              error: dereferencing pointer to incomplete type* 说明:*     调试显示驱动,打印of_node信息出现的错误;**                                          2019-5-31 深圳 宝安西乡 曾剑锋******************************************************************************/一、参考文档1. 解决编译错误:dereferencing pointer to incomplete type 的办法https://www.cnblogs.com/qunxuan/p/4080730.html

二、解决方法1. 问题: printk("%s: of_node->name: %s\n, of_node->full_name: %s\n", __func__, master_dev->of_node->name, master_dev->of_node->full_name);2. 加入头文件:#include <linux/of.h>

转载于:https://www.cnblogs.com/zengjfgit/p/10954253.html

error: dereferencing pointer to incomplete type相关推荐

  1. gcc编译出现:error: dereferencing pointer to incomplete type

    使用gcc编译c文件出现如下错误: getIP.c:14: warning: implicit declaration of function 'gethostname' getIP.c:20: wa ...

  2. 解决编译错误:dereferencing pointer to incomplete type 的办法

    在使用c语言写程序时,可能遇到错误:error :dereferencing pointer to incomplete type.其实,这个错误是指针指向的结构体类型没有定义. 原因可能有很多,但最 ...

  3. 在linux 下编译c程序时“ error:dereferencing pointer to incomplete type”的问题

    在linux 下编译c程序时经常会遇到" error:dereferencing pointer to incomplete type"的问题,该问题的原因是:结构体定义不规范造成 ...

  4. error :dereferencing pointer to incomplete type解决办法

    C代码编译时出现如下错误: error :dereferencing pointer to incomplete type 即引用指针到不完全的类型 引起该错误的原因是指针指向的结构体类型没有定义. ...

  5. 关于编译报错“dereferencing pointer to incomplete type...

    FORM:https://my.oschina.net/michaelyuanyuan/blog/68203 今天同事问了我一个问题,他make的时候报错,"第201行:dereferenc ...

  6. error:dereferencing pointer to incomplete type

    字面意义是不完整的类型,一般出现在定义结构体指针类型声明的时候.真正出现的问题原因是这个结构体根本就没有定义,或者是定义的头文件并没有被正确引用进来.尤其高版本的kernel 向低版本进行移植中经常出 ...

  7. error: invalid use of incomplete type 'XXXX' ;error: forward declaration of 'XXXX' 声明改为包含头文件

    error: invalid use of incomplete type 'XXXX' error: forward declaration of XXXX 声明改为包含头文件 class XXXX ...

  8. error: invalid use of incomplete type 'struct word'|

    发生错误的程序: #include <stdio.h> #include <string.h> #include <algorithm> int cmp(const ...

  9. Qt之解决error: member access into incomplete type ‘UI::XXX‘

    解决方案:重新编译后关闭当前项目文件,重新打开项目即可消除该错误提示

最新文章

  1. linux上使用strace查看C语言级别的php源码【一种方法】
  2. qpsk调制解调matlab_本科毕业设计课题—QPSK相干解调的MATLAB仿真(3)
  3. Nginx PHP 报504 Gateway time-out错误的解决方法
  4. [转]MySQL实现分页查询
  5. jboss eap 6.2+ 版本中 加密datasource密码等敏感信息
  6. 心动的本质是什么_《心动的信号3》:在“烟火气”里嗑糖,素人恋爱究竟有多上头?...
  7. pca各个向量之间的相关度_详细推导PCA算法
  8. matlab解六元一次方程,如何用MATLAB编写六元一次方程组
  9. 如何保证消息不被重复消费【[如何保证消息消费的幂等性】?
  10. 支付交易相关接口文档对接
  11. 计算机用户 图片存储位置,电脑版微信图片存在哪里?存储地址是什么?
  12. 智能家居竞品分析:米家/HomeKit/美居/涂鸦智能的体验与思考
  13. vue 表格时间格式化_表格格式
  14. !!!!前方高能预警,省钱。省时。省力。省心.一款神奇的APP......
  15. 【异地贷款】长三角住房公积金异地贷款流程记录
  16. python open encoding=utf-8_Python 文件操作中的读写模式:open(path, '-模式-',encoding='UTF-8')...
  17. 变换矩阵_平移 缩放 旋转及统一变换
  18. 开发容器式微服务的第一步
  19. linux/php一句话图片马及实例
  20. python调用百度接口实现ocr识别_Python 3调用百度OCR API实现剪贴板文字识别

热门文章

  1. Java Pinyin4j(汉字转拼音)
  2. 在Hive中执行DDL之类的SQL语句时遇到的一个问题
  3. 线性表 ----链表的C语言实现
  4. IBM X3650 M2 BR10i卡的阵列配置方法
  5. maven2完全使用手册
  6. Kubernetes — 控制器
  7. ffmpeg综合应用示例(一)——摄像头直播
  8. Java MVC框架性能比较 jsp、struts1、struts2、springmvc3 (转帖)
  9. Multiple Spring Data modules found, entering strict repository configuration mode!
  10. 写一个比较全的进制转换函数--ic