It's even older than that. But, while there inevitably will be cases where one has to upgrade an OS, it shouldn't IMO be necessary just because someone had not considered backwards compatibility, that some users have older operating systems or compilers.Possibly. But if OP is on Buster, that's a three-year-old OS at this point. An upgrade to Bookworm seems more expedient.The problem here is that using the latest sub-module means building the code may require upgrading the GCC cross-compiler
While an OS upgrade should fix the issue here it doesn't come without pain and hassle, won't always be the quickest or easiest fix.
I am still using Buster on my primary Pi, skipped Bullseye because I didn't want the hassle of upgrading. By the time I decided I could accept that hassle Bookworm was on the horizon and I had no desire to go through that hassle twice. I decided to upgrade to Bookworm for all my Pi but issues with Bookworm have prevented me from doing that.
The best solution would be for someone to provide the latest GCC cross-compiler for older OS users in an easily installable form.
And that's the best solution when a sub-module author requires a more modern version than the latest OS provides.
I am okay on that front. While Buster only provides the 7.3.1 cross-compiler via 'apt install', which isn't modern enough to compile PicoBB, installing the Arduino IDE provided a 10.2.0 which should if one can figure out how to point the build to that rather than the default.
It seems ridiculous to me to tell someone to install the Arduino IDE just to get a later cross-compiler but that's the easiest path I know of if having to resolve the issue oneself, a path which shouldn't add too much unnecessary pain.
Statistics: Posted by hippy — Wed Apr 17, 2024 12:34 pm