-
Notifications
You must be signed in to change notification settings - Fork 39
Problem compiling in latest release on Ubuntu: permission denied error #330
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
Comments
I am not near a linux machine right now, but based on what changed this last build. I may have an idea that can help you out right now. In the arduino package under variants/(TARGET)/mbed/.cxx-flags try removing -MMD from this file, save, and restart arduino. Let me know if this helps! |
That did the trick, works now, perfect, many thanks :) . Just being curious: what was this flag supposed to help with, is it one of the flags you added to speed up compilation? Should another flag be used on linux or any other way to fix? :) . |
This is a flag that was added in to speed up compile times. As for your second question, I don't know but I plan to find out! |
Excellent, let me know if / when I can do some testing for you :) . |
The -MMD is defined in the wrong place. As Wenn0101 indicates remove it from : variants/(TARGET)/mbed/.cxx-flags Now in the platform.txt, around line 57 set the parameter It will save you a 'ton of time' on the next build. regards, |
I had the same error but only for SparkFun:apollo3:sfe_artemis_nano |
The Arduino IDE suggested that I update the Artemis boards. I suppose this follows the release you had a couple of days ago.
I accepted, but now getting the following kind of errors:
This sounds strange, as /dev/null does exist on my system of course, and I am of course able to write to it:
Wonder if this is because the flag makes the code try to open / "acquire" the /dev/null file, rather than just writing to it (?).
Any idea how to fix?
The text was updated successfully, but these errors were encountered: