Linking errors when compiling with gcc 10
The difference in this respect between gcc 10 and gcc 9 is that gcc 10 defaults to using -fno-common
.
I am able to compile with gcc 10 by adding -fcommon
to the CFLAGS
, but this is not the proper way to fix it.