# Build error in the v6-26-00-patches branch

**URL:** <https://root-forum.cern.ch/t/build-error-in-the-v6-26-00-patches-branch/49069>\
**Category:** ROOT\
**Tags:** build\
**Created:** [March 7, 2022, 9:01am UTC](https://root-forum.cern.ch/t/build-error-in-the-v6-26-00-patches-branch/49069 "2022-03-07T09:01:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 7, 2022, 9:01am UTC](https://root-forum.cern.ch/t/build-error-in-the-v6-26-00-patches-branch/49069/1 "2022-03-07T09:01:59Z")

</div>

This is Ubuntu 20.04 LTS / x86\_64 / gcc, g++, gfortran 9.3.0 / cmake 3.16.3 here. The building of the current “v6-26-00-patches” branch (as of 2022.03.06) generates an error (in any version, “`--std=c++14`” and “`--std==c++17`”):

```plaintext
(...)
Scanning dependencies of target onepcm
Scanning dependencies of target modules_idx
[100%] Built target onepcm
[100%] Generating lib/modules.idx
IncrementalExecutor::executeFunction: symbol '_ZN4Vc_16Common15checkLibraryAbiEjjPKc' unresolved while linking function '_GLOBAL__sub_I_cling_module_1'!
You are probably missing the definition of Vc_1::Common::checkLibraryAbi(unsigned int, unsigned int, char const*)
Maybe you need to load the corresponding shared library?
Symbol found in '/.../v6-26-00-patches-cxx14/lib/libMathCore.so'; did you mean to load it with '.L /.../v6-26-00-patches-cxx14/lib/libMathCore.so'?

[100%] Built target modules_idx
Scanning dependencies of target hsimple
[100%] Generating tutorials/hsimple.root

Processing hsimple.C...
hsimple : Real Time = 0.23 seconds Cpu Time = 0.13 seconds
(TFile *) 0x55fb350b2fe0
[100%] Built target simple

```

Actually, the same error has been reported half a year ago for the "v6-24-00-patches” branch:

> [@Missing definition of Vc\_1::Common::checkLibraryAbi](https://root-forum.cern.ch/t/missing-definition-of-vc-1-checklibraryabi/47243/2):
>
> This is Ubuntu 20.04 LTS / x86\_64 / gcc 9.3.0 here. The building of the current “v6-24-00-patches” branch (the default cmake / make is used with “-j1”) says (for all three C++11, C++14 and C++17 builds): (...) [97%] Built target root Scanning dependencies of target hsimple [97%] Generating tutorials/hsimple.root IncrementalExecutor::executeFunction: symbol '\_ZN4Vc\_16Common15checkLibraryAbiEjjPKc' unresolved while linking function '\_GLOBAL\_\_sub\_I\_cling\_module\_1'! You are probably missing the …

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [March 7, 2022, 6:51pm UTC](https://root-forum.cern.ch/t/build-error-in-the-v6-26-00-patches-branch/49069/2 "2022-03-07T18:51:29Z")

</div>

Indeed. We tried to fix it in [https://github.com/root-project/root/commit/f2ac9b349f](https://github.com/root-project/root/commit/f2ac9b349f) and [https://github.com/root-project/root/pull/9572](https://github.com/root-project/root/pull/9572) but that caused failures that were worse than this error message. @vvassilev maybe you can share your plans for this?

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 12, 2022, 12:00pm UTC](https://root-forum.cern.ch/t/build-error-in-the-v6-26-00-patches-branch/49069/3 "2022-03-12T12:00:37Z")

</div>

The two warnings about redefined Vc macros are also still there (in “v6-26-00-patches”).

> [@Missing definition of Vc\_1::Common::checkLibraryAbi](https://root-forum.cern.ch/t/missing-definition-of-vc-1-checklibraryabi/47243/3):
>
> @Axel I also noticed another two warnings about redefined Vc macros (for all three C++11, C++14 and C++17 builds): (...) [72%] Built target Imt [72%] Generating G\_\_MathCore.cxx, ../../lib/MathCore.pcm While building module 'MathCore': While building module 'Vc' imported from /.../v6-24-00-patches/include/Math/Types.h:19: In file included from \<module-includes\>:1: In file included from /usr/include/Vc/Vc:30: In file included from /usr/include/Vc/vector.h:37: In file included from /usr/include/…

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 26, 2022, 12:01pm UTC](https://root-forum.cern.ch/t/build-error-in-the-v6-26-00-patches-branch/49069/4 "2022-03-26T12:01:02Z")

</div>

Closed on March 26, 2022, 12:01pm UTC

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