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,328件の閲覧回数
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,316件の閲覧回数
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 件の賞賛
返信