JetsonHacksNano / installLibrealsense

Build and install Intel's librealsense for the NVIDIA Jetson Nano Developer Kit
MIT License
153 stars 68 forks source link

Build Fails in ./patchUbuntu.sh #14

Closed goliasjd closed 3 years ago

goliasjd commented 5 years ago

After solving the bzip2 issue, I ran into this follow up problem with patchUbuntu.sh:

/usr/src/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c: In function ‘process_ctrl_msg’:
/usr/src/kernel/nvidia/drivers/net/ethernet/nvidia/pcie/tegra_vnet.c:867: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)
           ^
cc1: all warnings being treated as errors
scripts/Makefile.build:335: recipe for target 'drivers/net/ethernet/nvidia/pcie/tegra_vnet.o' failed
make[5]: *** [drivers/net/ethernet/nvidia/pcie/tegra_vnet.o] Error 1
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia/pcie' failed
make[4]: *** [drivers/net/ethernet/nvidia/pcie] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet/nvidia' failed
make[3]: *** [drivers/net/ethernet/nvidia] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
scripts/Makefile.build:649: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....

...

Makefile:1104: recipe for target 'drivers' failed
make: *** [drivers] Error 2

real    1m22.003s
user    2m35.044s
sys 0m28.496s
Make did not build 
Retrying ... 

...

Make did not successfully build
Please fix issues and retry build

I have very little idea as to what all this means, and I have not been able to work around it. This seems like an uncommon problem. Any ideas for how to fix it?

mickeyouyou commented 5 years ago

I meet the same errors, does anyone have solution ?

JetsonHacksNano commented 3 years ago

This feature is obsolete in the newer versions of this repository. Please open another issue if you encounter further problems.