ROOT::Math::Polynomial Linker Error

Hey there,

I’m running ROOT 6.14/08 on a remote CentOS7 cluster (which I have limited access) and been using relevant ROOT headers in my HEP work in C++ so far without issue. However, building in g++ with these relevant lines.

#include "Math/Polynomial.h"
auto poly = ROOT::Math::Polynomial (a,b,c);

and including the flags root-config --cflags and root-config --ldflags --glibs leads to the following errors when linking:

Any Suggestions?

Add: -lMathMore

Thanks for your time, that’s done the trick. I thought this may be the problem but then I saw it was under mathcore.

grep Polynomial ${ROOTSYS}/lib/*.rootmap