Fix the issue via specify "-fcommon" in C_flags. Due to gcc 10 will disable the said option defaultly.
This version(2.3.6) we proposed can match the mysql version 5.7.X and the ones which near it.