Dear @andreik ,
That looks like a missing libuuid-devel
package (or equivalent depending on your distribution). Also this package is indicated in the requirements page that I linked above. Please make sure that all requirements are installed.
Once that’s done, I suggest you delete completely your build directory and start a new ROOT build from scratch.
Cheers,
Vincenzo