When I tryed to install root from source following https://root.cern.ch/drupal/content/installing-root-source and make the source, errors occured
g++ -m32 -O2 -DNDEBUG -Wl,--no-undefined -Wl,--as-needed -o core/utils/src/rootcling_tmp core/utils/src/rootcling_tmp.o core/utils/src/DictSelectionReader.o core/utils/src/LinkdefReader.o core/utils/src/TModuleGenerator.o \
core/metautils/src/RConversionRuleParser.o core/metautils/src/TClassEdit.o core/metautils/src/TMetaUtils.o core/metautils/src/BaseSelectionRule.o core/metautils/src/ClassSelectionRule.o core/metautils/src/VariableSelectionRule.o core/metautils/src/RStl.o core/metautils/src/Scanner.o core/metautils/src/SelectionRules.o core/metautils/src/XMLReader.o core/clib/src/snprintf.o core/clib/src/strlcpy.o core/clib/src/strlcat.o \
interpreter/cling/lib/Interpreter/AutoloadCallback.o interpreter/cling/lib/Interpreter/AutoSynthesizer.o interpreter/cling/lib/Interpreter/BackendPass.o interpreter/cling/lib/Interpreter/CheckEmptyTransactionTransformer.o interpreter/cling/lib/Interpreter/CIFactory.o interpreter/cling/lib/Interpreter/ClangInternalState.o interpreter/cling/lib/Interpreter/DeclCollector.o interpreter/cling/lib/Interpreter/DeclExtractor.o interpreter/cling/lib/Interpreter/DynamicExprInfo.o interpreter/cling/lib/Interpreter/DynamicLibraryManager.o interpreter/cling/lib/Interpreter/DynamicLookup.o interpreter/cling/lib/Interpreter/ForwardDeclPrinter.o interpreter/cling/lib/Interpreter/IncrementalExecutor.o interpreter/cling/lib/Interpreter/IncrementalParser.o interpreter/cling/lib/Interpreter/InterpreterCallbacks.o interpreter/cling/lib/Interpreter/Interpreter.o interpreter/cling/lib/Interpreter/InvocationOptions.o interpreter/cling/lib/Interpreter/LookupHelper.o interpreter/cling/lib/Interpreter/NullDerefProtectionTransformer.o interpreter/cling/lib/Interpreter/RequiredSymbols.o interpreter/cling/lib/Interpreter/RuntimeException.o interpreter/cling/lib/Interpreter/Transaction.o interpreter/cling/lib/Interpreter/TransactionTransformer.o interpreter/cling/lib/Interpreter/TransactionUnloader.o interpreter/cling/lib/Interpreter/Value.o interpreter/cling/lib/Interpreter/ValueExtractionSynthesizer.o interpreter/cling/lib/Interpreter/ValuePrinter.o interpreter/cling/lib/Interpreter/ValuePrinterSynthesizer.o interpreter/cling/lib/MetaProcessor/Display.o interpreter/cling/lib/MetaProcessor/InputValidator.o interpreter/cling/lib/MetaProcessor/MetaLexer.o interpreter/cling/lib/MetaProcessor/MetaParser.o interpreter/cling/lib/MetaProcessor/MetaProcessor.o interpreter/cling/lib/MetaProcessor/MetaSema.o interpreter/cling/lib/Utils/AST.o -L/home/coordinator/soft/root-6.02.05/interpreter/llvm/inst/lib -lclangFrontend -lclangSerialization -lclangDriver -lclangCodeGen -lclangParse -lclangSema -lclangAnalysis -lclangAST -lclangEdit -lclangLex -lclangBasic -lLLVMProfileData -lLLVMObjCARCOpts -lLLVMInstrumentation -lLLVMipo -lLLVMVectorize -lLLVMOption -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Desc -lLLVMObject -lLLVMMCParser -lLLVMBitReader -lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMBitWriter -lLLVMCore -lLLVMSupport -L/home/coordinator/soft/root-6.02.05/interpreter/llvm/inst/lib -lz -lpthread -ldl -lm -lm -ldl -rdynamic
/home/coordinator/soft/root-6.02.05/interpreter/llvm/inst/lib/libclangCodeGen.a(CodeGenTypes.o): In function `clang::CodeGen::CodeGenTypes::ConvertRecordDeclType(clang::RecordDecl const*)':
CodeGenTypes.cpp:(.text._ZN5clang7CodeGen12CodeGenTypes21ConvertRecordDeclTypeEPKNS_10RecordDeclE+0x540): undefined reference to `clang::CodeGen::CodeGenTypes::ComputeRecordLayout(clang::RecordDecl const*, llvm::StructType*)'
/home/coordinator/soft/root-6.02.05/interpreter/llvm/inst/lib/libclangCodeGen.a(CGObjCRuntime.o): In function `clang::CodeGen::CGObjCRuntime::EmitValueForIvarAtOffset(clang::CodeGen::CodeGenFunction&, clang::ObjCInterfaceDecl const*, llvm::Value*, clang::ObjCIvarDecl const*, unsigned int, llvm::Value*)':
CGObjCRuntime.cpp:(.text._ZN5clang7CodeGen13CGObjCRuntime24EmitValueForIvarAtOffsetERNS0_15CodeGenFunctionEPKNS_17ObjCInterfaceDeclEPN4llvm5ValueEPKNS_12ObjCIvarDeclEjS9_+0x356): undefined reference to `clang::CodeGen::CGBitFieldInfo::MakeInfo(clang::CodeGen::CodeGenTypes&, clang::FieldDecl const*, unsigned long long, unsigned long long, unsigned long long, unsigned long long)'
collect2: error: ld returned 1 exit status
make: *** [core/utils/src/rootcling_tmp] Error 1
I need your help.Thanks!