Skip to content

Compatibility with Various ROOT Versions #2

@yuanxingbo

Description

@yuanxingbo

Hi,

I'm writing to ask which ROOT version is compatible with Gambit 2.6 ?

I can sucessfully install Gambit 2.6 with ROOT 6.30/04.

However, when installing Gambit 2.6 with ROOT 6.34/06 (also for 6.34/02 and 6.32/04), the process of cmake is terminated with the following errors.

CMake Error at cmake/optional.cmake:260 (message):
  Unable to detect what flavour of C++ your installation of ROOT has
  been compiled with; please set -DWITH_ROOT=OFF.

When trying to install Gambit 2.6 with ROOT 6.30/08 (also for 6.30/06), the procedure of cmake can be finished, but the process of 'make gambit' is terminated with the following errors.

libtool: link: ( cd ".libs" && rm -f "libRestFrames.la" && ln -s "../libRestFrames.la" "libRestFrames.la" )
Making all in inc
Making all in .
Making all in RestFrames
Making all in examples
Making all in .
�[01m�[Kexample_Zll.C:31:56:�[m�[K �[01;35m�[Kwarning: �[m�[Kthis use of "defined" may not be portable [�[01;35m�[K-Wexpansion-to-defined�[m�[K]
   31 | #if defined(__MAKECINT__) || defined(__ROOTCLING__) || �[01;35m�[KCOMPILER�[m�[K
      |                                                        �[01;35m�[K^~~~~~~~�[m�[K
�[01m�[Kexample_Zll.C:31:56:�[m�[K �[01;35m�[Kwarning: �[m�[Kthis use of "defined" may not be portable [�[01;35m�[K-Wexpansion-to-defined�[m�[K]
libtool: link: /bin/c++ -I../inc -I../inc -g -Woverloaded-virtual -I/storage/jinfeng/rootinstall3/root/include -pthread -std=c++17 -m64 -std=c++17 -fPIC -fopenmp -Wall -Wextra -Wno-misleading-indentation -Wl,-rpath -Wl,/storage/jinfeng/gambit_2.6-release_2.6/build/contrib -o .libs/example_Zll.x Zll-example_Zll.o -Wl,--no-as-needed  -L/storage/jinfeng/gambit_2.6-release_2.6/build/contrib ../src/.libs/libRestFrames.so -L/storage/jinfeng/rootinstall3/root/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -ldl -lm -lgambit_preload -fopenmp -pthread -Wl,-rpath -Wl,/storage/jinfeng/gambit_2.6-release_2.6/contrib/RestFrames-1.0.2/lib
/bin/ld: warning: libtbb.so.2, needed by /storage/jinfeng/rootinstall3/root/lib/libImt.so, not found (try using -rpath or -rpath-link)
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::task::note_affinity(unsigned short)'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::task_group_context::cancel_group_execution()'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::interface5::internal::task_base::destroy(tbb::task&)'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `typeinfo for tbb::task'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::task_group_context::init()'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::internal::allocate_additional_child_of_proxy::allocate(unsigned long) const'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::interface7::internal::isolate_within_arena(tbb::interface7::internal::delegate_base&, long)'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::task_group_context::~task_group_context()'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::internal::allocate_additional_child_of_proxy::free(tbb::task&) const'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::internal::throw_exception_v4(tbb::internal::exception_id)'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::task_group_context::reset()'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::interface7::internal::task_arena_base::internal_terminate()'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::interface9::global_control::active_value(int)'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::interface7::internal::task_arena_base::internal_initialize()'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::interface7::internal::task_arena_base::internal_execute(tbb::interface7::internal::delegate_base&) const'
/bin/ld: /storage/jinfeng/rootinstall3/root/lib/libImt.so: undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned long) const'
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:635: example_Zll.x] Error 1
make[5]: *** [Makefile:872: all-recursive] Error 1
make[4]: *** [Makefile:539: all-recursive] Error 1
make[3]: *** [CMakeFiles/restframes.dir/build.make:114: restframes-prefix/src/restframes-stamp/restframes-build] Error 2
make[2]: *** [CMakeFiles/Makefile2:3961: CMakeFiles/restframes.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1256: CMakeFiles/gambit.dir/rule] Error 2
make: *** [Makefile:118: gambit] Error 2
�]0;jinfeng@dell: ~/gambit_2.6-release_2.6/build��[01;32mjinfeng@dell�[00m:�[01;34m~/gambit_2.6-release_2.6/build�[00m$ exit
exit

In this computation server, the Linux version is ubuntu 20.04. The ROOT of the various versions are installed via the pre-compiled binary.

The full terminal logs can be found in the following files.

ROOT_6.34.06.txt

ROOT_6.30.08.log

Thanks for your time.

Xing-Bo Yuan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions