Error compiling with Ubuntu 20.04.4 LTS on virtual machine

I need to build from source for some compatibility with my analysis framework