ROOT compilation on Centos7 g++ (GCC) 7.3.0 | creating hard link `rootcint' => `rootcling' fails


Trying to compile last versions of root (6.12.06 or 6.14.02) with even minimal configuration:


I found it difficult to finalized. I’m struggling with weird error of:

[ 79%] Built target RIOObjs
[ 79%] Generating dummy.cxx
Scanning dependencies of target RIO
[ 79%] Building CXX object io/io/CMakeFiles/RIO.dir/dummy.cxx.o
[ 79%] Linking CXX shared library ../../lib/
[ 79%] Built target RIO
Scanning dependencies of target rootcling
[ 79%] Building CXX object main/CMakeFiles/rootcling.dir/src/rootcling.cxx.o
[ 79%] Linking CXX executable ../bin/rootcling
ln: creating hard link `rootcint' => `rootcling': Operation not permitted
make[2]: *** [bin/rootcling] Error 1
make[2]: *** Removing `bin/rootcling'
make[1]: *** [main/CMakeFiles/rootcling.dir/all] Error 2
make: *** [all] Error 2

Probably something is wrong with the OS itself. Do anybody have an idea how to verify what cause this problem?

Thanks in advance,

_ROOT Version: 6.14.02
_Platform: Centos 7
_Compiler:g++ (GCC) 7.3.0

Hi Bartek,

is the space where you are building maybe featuring some sort of odd permission scheme? Do you have enugh space? What happens if you create a hardlink in the very space where you are building?


Hi Danilo,

ugrrr… really? Indeed I’m working on shared space between VM and native system. So you are right - I cannot create a hardlink where I’m building… I will rerun building normally within the OS space that I’m working on. Great guess - my fault - thanks!!



let us know how it goes.


Dear all,

The compilation went trough smoothly afterwards… it’s not save to play on OS shared disk space for building. Thank you help!


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.