Problem compiling ROOT 5.34.36

_ROOT Version: 5.34.36
_Platform: ubuntu 16.04
_Compiler: cmake 3.5.1


I am trying to compile ROOT 5.34.36 with cmake and I obtain the following error:

cint/cint/src/debug.cxx:822:32: error: ‘L_tmpnam’ was not declared in this scope
G__FastAllocString tname_sb(L_tmpnam+10);
cint/cint/src/debug.cxx: In function ‘const char* G__load_text(const char*)’:
cint/cint/src/debug.cxx:963:22: error: ‘L_tmpnam’ was not declared in this scope
static char tname[L_tmpnam+10];



Try the head of the v5-34-00-patches branch for ROOT 5 or the newest ROOT 6 release.

Thanks for your help. I found the problem, it was related to some incompatibilities with an old conda configuration for other ROOT version.


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