Compiling Problem on ROOT 6.12/04

Root Version 6.12/04
Os Ubuntu 16.04 LTS
Hi, when i try the

make -j8

command, i get this error:

[ 63%] Built target obj.clingUtils
[ 63%] Built target ProofBenchPARFiles
[ 65%] Built target LLVMCodeGen
[ 65%] Built target clangSerialization
[ 65%] Built target obj.clingMetaProcessor
[ 67%] Built target clangAST
[ 68%] Built target clangSema
[ 68%] Built target LLVMX86Disassembler
[ 69%] Built target clangFrontend
[ 69%] Built target LLVMX86AsmPrinter
[ 69%] Built target LLVMX86Utils
[ 69%] Built target LLVMX86AsmParser
[ 70%] Built target LLVMCore
[ 70%] Built target clingMetaProcessor
[ 70%] Built target clingUtils
[ 70%] Built target LLVMX86Desc
[ 70%] Built target LLVMX86Info
[ 71%] Built target LLVMX86CodeGen
[ 71%] Built target obj.clingInterpreter
[ 71%] Built target clingInterpreter
[ 71%] Built target CLING
[ 72%] Built target clangCodeGen
[ 72%] Built target LLVMRES
[ 72%] Built target ClingUtils
[ 72%] Built target Dictgen
[ 72%] Built target MetaCling
[ 72%] Linking CXX executable src/rootcling_stage1
[ 72%] Linking CXX shared library ../../../lib/libCling.so
../dictgen/CMakeFiles/Dictgen.dir../../dictgen/CMakeFiles/Dictgen.dir/src//rootcling_impl.cxx.o: src/file rootcling_impl.cxx.onot recognized: :file not recognized: File truncated
collect2: error: ld returned 1 exit status
 File truncated
collect2: error: ld returned 1 exit status
core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/build.make:210: recipe for target 'core/rootcling_stage1/src/rootcling_stage1' failed
make[2]: *** [core/rootcling_stage1/src/rootcling_stage1] Error 1
CMakeFiles/Makefile2:17669: recipe for target 'core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/all' failed
make[1]: *** [core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
core/metacling/src/CMakeFiles/Cling.dir/build.make:196: recipe for target 'lib/libCling.so' failed
make[2]: *** [lib/libCling.so] Error 1
CMakeFiles/Makefile2:16298: recipe for target 'core/metacling/src/CMakeFiles/Cling.dir/all' failed
make[1]: *** [core/metacling/src/CMakeFiles/Cling.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

Hi,
the line above indicates the problem. You have a corrupted .o file in your build directory, possibly due to a previously interrupted build. I suggest you try building ROOT from a clean (empty) build directory.

Cheers,
Enrico

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