Make[2]: *** [graf2d/asimage/libAfterImage/libAfterImage.a] Error 2

In a (x)terminal window, execute:
source ~/v5-34-00-patches/bin/thisroot.sh
root