- 积分
- 7
贡献45
飞刀7 FD
注册时间2022-5-17
在线时间1 小时
扫一扫,手机访问本帖
|
A40i 内核编译报错,有解决过这问题的朋友吗? 感谢
drivers/char/dump_reg/dump_reg.c:42:28: error: 'SUNXI_IO_PBASE' undeclared here (not in a function)
#define SUNXI_IO_PHYS_BASE SUNXI_IO_PBASE
^
drivers/char/dump_reg/dump_reg.c:129:16: note: in expansion of macro 'SUNXI_IO_PHYS_BASE'
.pst_addr = SUNXI_IO_PHYS_BASE,
^
drivers/char/dump_reg/dump_reg.c:130:37: error: 'SUNXI_IO_SIZE' undeclared here (not in a function)
.ped_addr = SUNXI_IO_PHYS_BASE + SUNXI_IO_SIZE,
^
drivers/char/dump_reg/dump_reg.c:141:16: error: 'PLAT_PHYS_OFFSET' undeclared here (not in a function)
.pst_addr = PLAT_PHYS_OFFSET,
^
drivers/char/dump_reg/dump_reg.c:43:26: error: implicit declaration of function 'IO_ADDRESS' [-Werror=implicit-function-declaration]
#define SUNXI_IOMEM_VASE IO_ADDRESS(SUNXI_IO_PBASE)
|
|