6ULL Error while compiling,implicit declaration of function ‘of_find_node_by_phandle’

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

6ULL Error while compiling,implicit declaration of function ‘of_find_node_by_phandle’

1,704 次查看
bravosix
Contributor I

When I compiled the WiFi program as a module, this error occurred

drivers/media/platform/mxc/subdev/mxc_mipi_csi.c: In function ‘mipi_csis_phy_reset’:
drivers/media/platform/mxc/subdev/mxc_mipi_csi.c:401:10: error: implicit declaration of function ‘of_find_node_by_phandle’ [-Werror=implicit-function-declaration]
node = of_find_node_by_phandle(phandle);

Compiler version 4.9.4 2017.01

kernel version 4.1.15

0 项奖励
回复
1 回复

1,692 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

This error has nothing to do with whether you compile the WIFI module.
Before compiling the WIFI module, you must ensure that you can compile the linux kernel of i.MX6ULL correctly. Then configure the Makefile of the wifi module source code, fill in your linux kernel path, CPU architecture, and compiler path, and then start compiling.

 

Have a nice day!

B.R,

Weidong

0 项奖励
回复