添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

ROOT Version ( ): 6.12/06
Platform, compiler (): gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)

/usr/bin/ld: cannot find -lXMLParser
collect2: error: ld returned 1 exit status
make: *** [lib/libUnfold.so] Error 1

Im sorry, I downloaded the latest root version and Im running make -j8 and I get this error

[ 75%] Built target Dictgen
make[1]: *** [interpreter/llvm/src/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 75%] Built target MetaCling
make: *** [all] Error 2

The root version is 6.13.03

also when i ran (make) I received this error

/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [core/rootcling_stage1/src/rootcling_stage1] Error 1
make[1]: *** [core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/all] Error 2
make: *** [all] Error 2

I am running scientific Linux 7

[szakirov@localhost ~]$ cmake --version
cmake version 3.6.2

CMake suite maintained and supported by Kitware ( kitware.com/cmake ).
[szakirov@localhost ~]$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[szakirov@localhost ~]$ make --version
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

[szakirov@localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 13:12:24 CST 2018 x86_64 x86_64 x86_64 GNU/Linux

Here is a txt file I have when I ran make -j8

Script started on Wed 21 Mar 2018 11:14:59 AM EDT
Adding Enrico to PATH and PYTHONPATH
Setting environment variables for data file locations
Run enrico_setupcheck to check if you are set up correctly.
Check your PATH and PYTHONPATH if enrico_setup is not found or gives an error.
e]777;notify;Command completed;exitae]0;szakirov@localhost:~ae]7;file://localhost.localdomain/home/szakirovae[?1034h[szakirov@localhost ~]$ exitls -l script1e[Ce[Ce[Ce[Ce[Ce[Ce[Ce[8Pexitmake -j8e[3Pcd …e[3Plscd …e[3Plse[Ke[Kcd Desktop/e[Ke[Ke[Ke[Ke[Ke[Ke[Ke[Ke[K build/
e]777;notify;Command completed;cd build/ae]0;szakirov@localhost:~/buildae]7;file://localhost.localdomain/home/szakirov/builda[szakirov@localhost build]$ MAKEe[Ke[Ke[Ke[Kmake -j8
[ 1%] Built target PCRE
[ 1%] Built target TBB
[ 1%] Built target LZMA
[ 1%] Built target AFTERIMAGE
[ 2%] Built target move_header_roofit_roostats
[ 2%] Built target xxhash
[ 3%] Built target move_header_hist_hist
[ 3%] Built target move_header_core_clib
[ 3%] Built target move_header_core_clingutils
[ 3%] Built target move_header_core_cont
[ 3%] Built target move_header_core_foundation
[ 4%] Built target move_header_core_meta
[ 4%] Built target move_header_core_multiproc
[ 4%] Built target move_header_core_rint
[ 4%] Built target move_header_core_textinput
[ 4%] Built target move_header_core_thread
[ 4%] Built target move_header_core_imt
[ 4%] Built target move_header_core_zip
[ 4%] Built target move_header_core_lzma
[ 4%] Built target move_header_core_lz4
[ 4%] Built target move_header_core_newdelete
[ 4%] Built target move_header_core_unix
[ 6%] Built target move_header_core_base
[ 7%] Built target move_header_math_mathcore
[ 8%] Built target move_header_math_matrix
[ 8%] Built target move_header_math_minuit
[ 8%] Built target move_header_math_fumili
[ 8%] Built target move_header_math_physics
[ 8%] Built target move_header_math_mlp
[ 8%] Built target move_header_math_quadp
[ 8%] Built target move_header_math_foam
[ 9%] Built target move_header_math_smatrix
[ 9%] Built target move_header_math_splot
[ 10%] Built target move_header_math_genvector
[ 10%] Built target move_header_math_genetic
[ 10%] Built target move_header_hist_histpainter
[ 10%] Built target move_header_hist_spectrum
[ 10%] Built target move_header_hist_spectrumpainter
[ 10%] Built target move_header_tree_tree
[ 11%] Built target move_header_tree_treeplayer
[ 11%] Built target move_header_tree_treeviewer
[ 12%] Built target move_header_io_io
[ 12%] Built target move_header_io_sql
[ 12%] Built target move_header_io_xml
[ 12%] Built target move_header_net_net
[ 12%] Built target move_header_net_auth
[ 12%] Built target move_header_net_http
[ 12%] Built target move_header_net_httpsniff
[ 12%] Built target move_header_graf2d_gpad
[ 13%] Built target move_header_graf2d_graf
[ 13%] Built target move_header_graf2d_postscript
[ 13%] Built target move_header_graf2d_x11
[ 13%] Built target move_header_graf2d_x11ttf
[ 13%] Built target move_header_graf2d_asimage
[ 13%] Built target move_header_graf3d_g3d
[ 13%] Built target move_header_graf3d_x3d
[ 14%] Built target move_header_gui_gui
[ 15%] Built target move_header_gui_ged
[ 15%] Built target move_header_gui_fitpanel
[ 15%] Built target move_header_gui_guibuilder
[ 15%] Built target move_header_gui_guihtml
[ 15%] Built target move_header_gui_recorder
[ 15%] Built target move_header_gui_sessionviewer
[ 16%] Built target move_header_proof_proof
[ 16%] Built target move_header_proof_proofplayer
[ 16%] Built target move_header_proof_proofbench
[ 16%] Built target move_header_html
[ 16%] Built target move_header_montecarlo_eg
[ 16%] Built target move_header_montecarlo_vmc
[ 17%] Built target move_header_geom_geom
[ 17%] Built target move_header_geom_geombuilder
[ 17%] Built target move_header_geom_geompainter
[ 17%] Built target move_header_geom_gdml
[ 17%] Built target move_header_bindings_pyroot
[ 20%] Built target move_header_tmva_tmva
[ 21%] Built target move_header_tmva_tmvagui
[ 21%] Built target move_header_tmva_pymva
[ 23%] Built target move_header_roofit_roofitcore
[ 24%] Built target move_header_roofit_roofit
[ 24%] Built target obj.clang-tblgen
[ 24%] Built target LLVMDemangle
[ 24%] Built target LLVMTableGen
[ 25%] Built target LLVMSupport
[ 25%] Built target LLVMBinaryFormat
[ 25%] Built target obj.llvm-tblgen
[ 25%] Built target llvm_vcsrevision_h
[ 26%] Built target LLVMMCParser
[ 26%] Built target LLVMMCDisassembler
[ 26%] Built target LLVMOption
[ 26%] Built target LLVMMC
[ 26%] Built target LLVMDebugInfoMSF
[ 26%] Built target copymodulemap
[ 26%] Built target LLVMDebugInfoCodeView
[ 26%] Built target lz4
[ 26%] Built target clang-tblgen
[ 26%] Built target llvm-tblgen
[ 55%] Built target move_artifacts
[ 55%] Built target move_headers
[ 56%] Built target clang-headers
[ 57%] Built target intrinsics_gen
[ 57%] Built target ClangAttrSpellingListIndex
[ 57%] Built target ClangCommentCommandList
[ 57%] Built target ClangCommentCommandInfo
[ 57%] Built target ClangAttrClasses
[ 57%] Built target ClangAttrImpl
[ 57%] Built target ClangAttrDump
[ 57%] Built target ClangAttrVisitor
[ 57%] Built target ClangCommentHTMLNamedCharacterReferences
[ 57%] Built target ClangStmtNodes
[ 57%] Built target ClangDeclNodes
[ 57%] Built target ClangCommentNodes
[ 57%] Built target ClangCommentHTMLTagsProperties
[ 57%] Built target ClangCommentHTMLTags
[ 57%] Built target ClangDiagnosticIndexName
[ 57%] Built target ClangDiagnosticDriver
[ 57%] Built target ClangDiagnosticParse
[ 57%] Built target ClangDiagnosticComment
[ 57%] Built target ClangDiagnosticGroups
[ 57%] Built target ClangDiagnosticAST
[ 57%] Built target ClangDiagnosticSerialization
[ 57%] Built target ClangDiagnosticLex
[ 57%] Built target ClangDiagnosticSema
[ 58%] Built target ClangDiagnosticAnalysis
[ 58%] Built target ClangAttrList
[ 58%] Built target ClangDiagnosticFrontend
[ 58%] Built target ClangAttrHasAttributeImpl
[ 58%] Built target ClangDiagnosticCommon
[ 58%] Built target ClangAttrSubjectMatchRuleList
[ 58%] Built target ClangARMNeon
[ 58%] Built target ClangAttrSubMatchRulesParserStringSwitches
[ 58%] Built target ClangAttrParserStringSwitches
[ 58%] Built target ClangAttrTemplateInstantiate
[ 58%] Built target ClangAttrParsedAttrList
[ 58%] Built target ClangAttrParsedAttrKinds
[ 58%] Built target ClangAttrParsedAttrImpl
[ 58%] Built target ClangAttrPCHWrite
[ 58%] Built target ClangAttrPCHRead
[ 58%] Built target ClangSACheckers
[ 58%] Built target ClangDriverOptions
[ 58%] Built target AttributeCompatFuncTableGen
[ 58%] Built target LLVMIRReader
[ 60%] Built target LLVMSelectionDAG
[ 60%] Built target LLVMBitReader
[ 60%] Built target LLVMGlobalISel
[ 60%] Built target LLVMBitWriter
[ 60%] Built target LLVMAsmPrinter
[ 60%] Built target LLVMInstCombine
[ 60%] Built target LLVMInstrumentation
[ 60%] Built target LLVMVectorize
[ 61%] Built target LLVMTransformUtils
[ 61%] Built target LLVMipo
[ 61%] Built target LLVMScalarOpts
[ 61%] Built target LLVMObjCARCOpts
[ 61%] Built target LLVMCoroutines
[ 63%] Built target LLVMCodeGen
[ 63%] Built target LLVMLinker
[ 64%] Built target LLVMLTO
[ 65%] Built target LLVMExecutionEngine
[ 65%] Built target LLVMObject
[ 66%] Built target LLVMAnalysis
[ 66%] Built target LLVMOrcJIT
[ 67%] Built target LLVMRuntimeDyld
[ 67%] Built target LLVMTarget
[ 67%] Built target X86CommonTableGen
[ 67%] Built target LLVMAsmParser
[ 67%] Built target LLVMProfileData
[ 67%] Built target LLVMCoverage
[ 67%] Built target LLVMPasses
[ 67%] Built target clangBasic
[ 67%] Built target clangLex
[ 67%] Built target clangParse
[ 67%] Built target clangEdit
[ 67%] Built target clangAnalysis
[ 68%] Built target clangAST
[ 69%] Built target clangSema
[ 70%] Built target clangDriver
[ 70%] Built target clangSerialization
[ 70%] Built target Clib
[ 71%] Built target clangCodeGen
[ 71%] Built target Cont
[ 71%] Built target clangFrontend
[ 71%] Built target Foundation
[ 72%] Built target Meta
[ 72%] Built target TextInput
[ 72%] Built target Zip
[ 72%] Built target Lzma
[ 72%] Built target Lz4
[ 72%] Built target Unix
[ 72%] Built target RootPcmObjs
[ 72%] Built target mathtext
[ 72%] Built target root
[ 72%] Built target rmkdepend
[ 72%] Built target rsa
[ 72%] Built target ProofBenchPARFiles
[ 72%] Built target ssh2rpd
[ 72%] Built target Foundation_Stage1
[ 72%] Built target obj.clingUtils
[ 72%] Built target obj.clingMetaProcessor
[ 72%] Built target LLVMX86AsmParser
[ 73%] Built target obj.clingInterpreter
[ 74%] Built target LLVMCore
[ 75%] Built target LLVMX86Disassembler
[ 75%] Built target LLVMX86CodeGen
[ 75%] Built target LLVMX86AsmPrinter
[ 75%] Built target LLVMX86Desc
[ 75%] Built target LLVMX86Info
[ 75%] Built target LLVMX86Utils
[ 75%] Built target clingUtils
[ 75%] Built target clingInterpreter
[ 75%] Built target clingMetaProcessor
[ 75%] Built target CLING
[ 75%] Built target LLVMRES
[ 75%] Built target ClingUtils
[ 76%] Built target Dictgen
[ 76%] Built target MetaCling
[ 76%] e[32me[1mLinking CXX executable src/rootcling_stage1e[0m
[ 76%] e[32me[1mLinking CXX shared library …/…/…/lib/libCling.soe[0m
…/…/interpreter/llvm/src/lib/libclingInterpreter.a(DeclUnloader.cpp.o): In function
TypeLoc.cpp:(.text._ZN5clang29TemplateSpecializationTypeLoc17initializeArgLocsERNS_10ASTContextEjPKNS_16TemplateArgumentEPNS_23TemplateArgumentLocInfoENS_14SourceLocationE+0x17a): undefined reference to clang::ASTContext::getTrivialTypeSourceInfo(clang::QualType, clang::SourceLocation) const' /usr/bin/ld: src/rootcling_stage1: hidden symbol _ZN4llvm17InterferenceCache6Cursor14NoInterferenceE’ isn’t defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
…/…/…/interpreter/llvm/src/lib/libLLVMCodeGen.a(RegAllocGreedy.cpp.o): In function (anonymous namespace)::RAGreedy::growRegion((anonymous namespace)::RAGreedy::GlobalSplitCandidate&)': RegAllocGreedy.cpp:(.text._ZN12_GLOBAL__N_18RAGreedy10growRegionERNS0_20GlobalSplitCandidateE+0x2ee): undefined reference to llvm::InterferenceCache::Cursor::NoInterference’
/usr/bin/ld: …/…/…/interpreter/llvm/src/lib/libLLVMCodeGen.a(RegAllocGreedy.cpp.o): relocation R_X86_64_PC32 against undefined hidden symbol `_ZN4llvm17InterferenceCache6Cursor14NoInterferenceE’ can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [core/rootcling_stage1/src/rootcling_stage1] Error 1
make[2]: *** [lib/libCling.so] Error 1
make[1]: *** [core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
make[1]: *** [core/metacling/src/CMakeFiles/Cling.dir/all] Error 2
make: *** [all] Error 2
e]777;notify;Command completed;make -j8ae]0;szakirov@localhost:~/buildae]7;file://localhost.localdomain/home/szakirov/builda[szakirov@localhost build]$

I had to cut out hundreds of lines right after 76% done due to them physically not fitting on the site or pastebin but you see the build log