0 votes
by (180 points)
closed by
hi:

bsp:32.4.2

when make ,error occurs, Chinese reply is OK for me

/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c:610:11: error: ‘msg.msg_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   else if (msg.msg_id == CTRL_MSG_LINK_DOWN_ACK)
           ^
/home/jeff/nvidia/nvidia_sdk/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/sources/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c:602:18: note: ‘msg.msg_id’ was declared here
  struct ctrl_msg msg;
                  ^
cc1: all warnings being treated as errors
/home/jeff/nvidia/nvidia_sdk/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/sources/kernel/kernel-4.9/scripts/Makefile.build:335: recipe for target 'drivers/net/ethernet/nvidia/pcie/tegra_vnet.o' failed
make[6]: *** [drivers/net/ethernet/nvidia/pcie/tegra_vnet.o] Error 1
/home/jeff/nvidia/nvidia_sdk/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/sources/kernel/kernel-4.9/scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia/pcie' failed
make[5]: *** [drivers/net/ethernet/nvidia/pcie] Error 2
/home/jeff/nvidia/nvidia_sdk/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/sources/kernel/kernel-4.9/scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia' failed
make[4]: *** [drivers/net/ethernet/nvidia] Error 2
/home/jeff/nvidia/nvidia_sdk/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/sources/kernel/kernel-4.9/scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet' failed
make[3]: *** [drivers/net/ethernet] Error 2
/home/jeff/nvidia/nvidia_sdk/JetPack_4.4_DP_Linux_DP_JETSON_AGX_XAVIER/Linux_for_Tegra/sources/kernel/kernel-4.9/scripts/Makefile.build:649: recipe for target 'drivers/net' failed
make[2]: *** [drivers/net] Error 2
make[2]: *** Waiting for unfinished jobs...
closed as a duplicate of: 307 camera Image create failed
欢迎来到 Veye Q&;A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...