drivers/misc/pmem.c: In function ‘flush_pmem_file’:
drivers/misc/pmem.c:806: error: implicit declaration of function ‘dmac_flush_range’
drivers/misc/pmem.c: In function ‘debug_read’:
drivers/misc/pmem.c:1183: warning: cast from pointer to integer of different size
drivers/misc/pmem.c: At top level:
drivers/misc/pmem.c:1218: warning: initialization from incompatible pointer type
drivers/misc/pmem.c: In function ‘pmem_setup’:
drivers/misc/pmem.c:1276: error: implicit declaration of function ‘ioremap_cached’
drivers/misc/pmem.c:1277: warning: assignment makes pointer from integer without a cast
drivers/misc/pmem.c:1294: warning: cast to pointer from integer of different size
make[2]: *** [drivers/misc/pmem.o] 错误 1
make[1]: *** [drivers/misc] 错误 2
make: *** [drivers] 错误 2
ubuntu下编译android4.0.3内核时报错怎么解决
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
4条回答 默认 最新
- 普通网友 2017-04-25 07:22关注
1.
error: implicit declaration of function 提示的是找不到.h中的函数定义,检查你的源码是否完整
2.
make前是否正确进行了config.仔细阅读readme,这是驱动代码,你是否希望它被编译,不需要的话,如何不编译此部分本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报