-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail compiling in Ubuntu 16.04 #20157
Comments
When I tried the suggestions posted in #6668, Unfortunately, it still can't work, it shows: fatal: reference is not a tree: fd12483ddd4e58242d61d74a163e7aeaa1e0f466 |
I followed the same procedure to compile the program many months ago, and it works well. But it can't work right now. |
@AllenHuangDongyue Unfortunately Ubuntu 16.04 has reached end if life in April 2021, therefore it would be hard to support your issue |
The commit it's trying to check out is no longer available. If you don't need UAVCAN, you can disable building it, and just not check it out. For instance for fmu-v4 you would disable it here: https://github.com/PX4/PX4-Autopilot/blob/release/1.10/boards/px4/fmu-v4/default.cmake#L47 by commenting out the line. If you do need it, you will have to find a commit of that submodule that works for you and check it out manually. It's hard to keep supporting these things for years back, so I strongly recommend using something more recent like v1.13, otherwise you are on your own and need to know how to deal with these problems, unfortunately. |
Got it, thanks! |
When I am trying to compile the program of v1.11.0 under Ubuntu 16.04,
I was following the code:
git clone https://github.com/PX4/Firmware.git --recursive
Then it shows the error:
fatal: reference is not a tree: fd12483ddd4e58242d61d74a163e7aeaa1e0f466
Unable to checkout 'fd12483ddd4e58242d61d74a163e7aeaa1e0f466' in submodule path 'src/drivers/uavcan/libuavcan/libuavcan/dsdl_compiler/pyuavcan/dsdl'
Failed to recurse into submodule path 'src/drivers/uavcan/libuavcan/libuavcan/dsdl_compiler/pyuavcan'
....
Failed to recurse into submodule path 'src/drivers/uavcan/libuavcan'
Is there anything I did wrong? Any suggestions will be welcome!
Regards,
Allen
The text was updated successfully, but these errors were encountered: