Undefined reference when using Raspbian compile root based program

Well, I also reached my EOL but, even though ROOT doesn’t have my “subscription”, here it is.
Replace your “alias” with this “function” (and re-login):

function r++ { $(root-config --cxx --cflags) $@ $(root-config --libs) -lMinuit2 ; }