Here are a few suggestions that I think might help:
Check your configuration options: enneagram test
Library paths: Make sure that the libraries required for your project are installed in the correct locations and that the paths to the libraries are configured correctly during compilation.
Compile flags: Check the compile flags you are using. Some of them may not be compatible with GCC 11.
Makefile: If you are using a Makefile, check to see if your environment variables and compile commands need adjusting.