Open DNSGeek opened 4 years ago
I am getting the exact same thing when trying to compile on Manjaro
I guess this is related to GCC 10. I'm on GCC 9 and don't get that error, however if I set -fno-common option I get the same error. You can read about this here: https://gcc.gnu.org/gcc-10/porting_to.html (Default to -fno-common)
You can either try fixing the source code by setting RAM to extern in all but one c file, or you can try in the makefile to add -fcommon to CFLAGS
https://github.com/mist64/cbmbasic/blob/89093eba090d6e1c2d2b6e1cb1616dba0ce9c7f6/runtime.c#L47 this should be extern i think. Yep, just tried this now and it works.
Trying to build on a stock Fedora 32 system (x86_64) gives me the following error: