-
Notifications
You must be signed in to change notification settings - Fork 102
Compiling on Ubuntu 19.04 #14
Comments
This seems to be unrelated to the Shruthi code itself, but an error in the compiler itself. Anyway, the Shruthi-1 codebase is so CPU and space constrained that it is only guaranteed to work with avr-gcc-4.3.3. Any other version will generate slightly different code that might not fit in the 64k of Flash memory available on the ATMega. |
Thanks! For anyone wondering, I got it to compile (yet to test) by doing the following:
This uses |
Thanks for all the tips, @mluds ! After a lot of crazy nonsense I got this working on Ubuntu 10. I wonder if it's because of using 4.3.4 rather than 4.3.3? @pichenettes, is there anything a desperate maniac could manually trim out of the source files to cut the size down while keeping it functional? It seems like getting a working version of 4.3.3 running is super complicated but also the only viable way to flash this thing at this point. Any ideas? |
Hello, I'm trying to compile this on Ubuntu 19.04:
I've installed the AVR tools/libraries:
And have these versions of avr-g++ and make:
I also updated avrlib to use the correct path:
Then I run make and get this error:
It seems to be an issue with patch_ being defined here: https://github.com/pichenettes/shruthi-1/blob/master/shruthi/part.h#L216
Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered: