Open jmalbert97 opened 3 years ago
I would recommend running the setup script for your particular os. For ubuntu it is ./Tools/setup/ubuntu.sh it is possible that your compiler part is not linked properly and that script should fix it. Make sure to log out and log back in once you run that script.
I am experiencing this issue as well. The ubuntu.sh setup did not work for me.
Is there any update on this?
I found the issue. On the last version of PX4-autopilot I had to run with sudo
because the program needed permission to create a cache file Failed to create temporary file for /home/atlas/.ccache/5/d/ec4da3686341d3d3968582736b61b9-11825.o.tmp.stdout: Permission denied
So, I simply ran with sudo
. In this new version this seems to screw things up.
I am working on a fix, will update
Yeah, I am unsure why permissions on my folder /home/atlas/.ccache/5/d/
were set for only root use, but after changing the permissions there I was able to get a successful build
I am experiencing this issue as well. The ubuntu.sh setup did not work for me.
Please paste the log of what did not work.
I ran into this issue today, and found out it was because I ran ubuntu.sh in Tools/setup with sudo, instead of as a normal user.
Hi there, Even though I performed this process with "sudo', I m faced with the exactly same issus now. can I know there is any possible way to pass this error ?
thx in advance
Hi there, Even though I performed this process with "sudo', I m faced with the exactly same issus now. can I know there is any possible way to pass this error ?
thx in advance
reboot, update via sudo apt -y update
reboot, and it might fix your issue. if not, then reboot again. If still not fixed, try
sudo apt -y update && sudo apt -y upgrade && sudo apt -y autoremove && sudo apt -y clean && sudo apt -y autoclean
If not fixed, post your new status.
I am attempting to simply build the firmware for a NuttX / PixHawk board, following the guide here: https://docs.px4.io/master/en/dev_setup/building_px4.html. I have the firmware cloned, the toolchains installed, but the build fails. I should note, when I build for JMavSim, it builds just fine. When I build for an actual NuttX target (I am using PixHawk 4) the build fails. I have tried adding environmental variables (verified with echo) to point to the paths for each compiler… but output is exactly the same, not even showing the path i entered. Here is my output:
My GCC version:
‘find -iname arm-none-eabi*’ output, showing these compilers do in fact exist (altough, seems like a weird place for them)
Any guidance here would be appreciated. I am compiling on Ubuntu 18.04.