# WSL Build from source error: RInt.pcm is out of date \\ cannot read module signature

**URL:** <https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564>\
**Category:** Newbie\
**Tags:** build\
**Created:** [November 6, 2021, 11:25pm UTC](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564 "2021-11-06T23:25:41Z")\
**Posts on this page:** 6\
**Page:** 3

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [November 11, 2022, 4:18am UTC](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564/41 "2022-11-11T04:18:51Z")

</div>

Note the original problem is recorded in [Missing Rint dependency for rootcling · Issue #11686 · root-project/root · GitHub](https://github.com/root-project/root/issues/11686)  
and solved by [Add Rint as a dependency of rootcling by pcanal · Pull Request #11687 · root-project/root · GitHub](https://github.com/root-project/root/pull/11687).

---

<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:** [November 11, 2022, 7:32am UTC](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564/42 "2022-11-11T07:32:47Z")

</div>

The Python error will be fixed today by [[PyROOT] Enclose tuple unpacking in return statement with parenthesis by vepadulano · Pull Request #11685 · root-project/root · GitHub](https://github.com/root-project/root/pull/11685)

---

<div class="post-metadata">

**Author:** ![Neel\_Shah](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/neel_shah/32/28438_2.png) [@Neel\_Shah](https://root-forum.cern.ch/u/Neel_Shah)\
**Post date:** [November 11, 2022, 8:22am UTC](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564/43 "2022-11-11T08:22:10Z")

</div>

Sure thankyou @pcanal , @Axel and @moneta for helping me out.

---

<div class="post-metadata">

**Author:** ![Neel\_Shah](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/neel_shah/32/28438_2.png) [@Neel\_Shah](https://root-forum.cern.ch/u/Neel_Shah)\
**Post date:** [November 11, 2022, 8:40am UTC](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564/44 "2022-11-11T08:40:05Z")

</div>

Hello @Axel @pcanal  
I am still getting a different error after resolving the python error

```auto
[96%] Building CXX object roofit/hs3/test/CMakeFiles/testRooFitHS3.dir/testRooFitHS3.cxx.o
In file included from /home/neel/Desktop/Root/root/roofit/hs3/test/testRooFitHS3.cxx:21:
/home/neel/Desktop/Root/root/roofit/roofitcore/inc/RooProdPdf.h:76:14: error: ‘RooArgSet* RooProdPdf::getConstraints(const RooArgSet&, RooArgSet&, bool, bool) const’ marked ‘override’, but does not override
   76 | RooArgSet* getConstraints(const RooArgSet& observables, RooArgSet& constrainedParams,
      | ^ ~~~~~~~~~~~~~
In file included from /home/neel/Desktop/Root/install/include/RooArgusBG.h:19,
                 from /home/neel/Desktop/Root/root/roofit/hs3/test/testRooFitHS3.cxx:14:
/home/neel/Desktop/Root/install/include/RooAbsPdf.h:215:22: warning: ‘virtual RooArgSet* RooAbsPdf::getConstraints(const RooArgSet&, RooArgSet&, bool) const’ was hidden [-Woverloaded-virtual]
  215 | virtual RooArgSet* getConstraints(const RooArgSet& /*observables*/, RooArgSet& /*constrainedParams*/, bool /*stripDisconnected*/) const {
      | ^ ~~~~~~~~~~~~~
In file included from /home/neel/Desktop/Root/root/roofit/hs3/test/testRooFitHS3.cxx:21:
/home/neel/Desktop/Root/root/roofit/roofitcore/inc/RooProdPdf.h:76:14: warning: by ‘RooArgSet* RooProdPdf::getConstraints(const RooArgSet&, RooArgSet&, bool, bool) const’ [-Woverloaded-virtual]
   76 | RooArgSet* getConstraints(const RooArgSet& observables, RooArgSet& constrainedParams,
      | ^ ~~~~~~~~~~~~~
make[2]: *** [roofit/hs3/test/CMakeFiles/testRooFitHS3.dir/build.make:63: roofit/hs3/test/CMakeFiles/testRooFitHS3.dir/testRooFitHS3.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:50771: roofit/hs3/test/CMakeFiles/testRooFitHS3.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

```

Is there any solution to this to get the build done?

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [November 11, 2022, 11:09am UTC](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564/45 "2022-11-11T11:09:43Z")

</div>

Hi,  
It looks to me you are using an old version of the code.  
The signature of the function is not the one in ROOT master, for RooAbsPdf that you have from  
/home/neel/Desktop/Root/install/include/RooAbsPdf.h:215  
while RooProdPdf is from /home/neel/Desktop/Root/root/roofit/roofitcore/inc/RooProdPdf.h

Please check your configuration, $ROOTSYS, etc…

Lorenzo

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [November 11, 2022, 11:10am UTC](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564/46 "2022-11-11T11:10:37Z")

</div>

Hi @Neel_Shah ,

as a side note in general there is no need to build from source to get ROOT running on WSL. You should be able to use the pre-compiled binaries or the conda/snap packages, see [Complete ROOT Installation Instructions for WSL (Ubuntu 18.04 on Windows 10)](https://root-forum.cern.ch/t/complete-root-installation-instructions-for-wsl-ubuntu-18-04-on-windows-10/35148) .

If you have to build from source: as Lorenzo said please make sure it’s the latest `v6-26-00-patches` or the latest `master` branch (you might have to `git pull`). We do not see those compilation errors with those branches, they built correctly in the nightly builds.

Cheers,  
Enrico

[Previous page](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564.md?page=2)
