0 votes
by (180 points)

hi :

I test bsp 32.4.2 to install, but when running make command:

make ARCH=arm64 O=$TEGRA_KERNEL_OUT Image -j4

error occurs:

I just follow the descriptions from

使用源码进行编译.

any help is thanks.
I am not install Chinese input ,but Chinese reply is OK for me

=============error info =================

/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....
  CC      drivers/pci/host-bridge.o
  CC      drivers/pci/dwc/pcie-hisi.o
 

1 Answer

0 votes
by (2.3k points)

Hi,

1, In general, you don't need to compile from source.

http://wiki.veye.cc/index.php/VEYE_CS_Camera_for_Jetson_TX2#Overview_2

2,  Your current compilation error has nothing to do with the driver we provide. 

It is recommended that you compile the kernel provided by the standard nvidia before adding our driver.

by (180 points)
好的,多谢,我试下,主要想试下自己编译
by (2.3k points)
可以参考官方L4T文档即可。
欢迎来到 Veye Q&;A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...