# Failed compile testcase using chrono

**URL:** <https://gpusph.discourse.group/t/failed-compile-testcase-using-chrono/122>\
**Category:** Uncategorized\
**Created:** [October 5, 2020, 2:51am UTC](https://gpusph.discourse.group/t/failed-compile-testcase-using-chrono/122 "2020-10-05T02:51:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoJo](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@JoJo](https://gpusph.discourse.group/u/JoJo)\
**Post date:** [October 5, 2020, 2:51am UTC](https://gpusph.discourse.group/t/failed-compile-testcase-using-chrono/122/1 "2020-10-05T02:51:30Z")

</div>

im trying to compile BuoyancyTest  
then i got the error message below

build/geometries/Sphere.o:(.rodata.\_ZTVN6chrono16ChBodyEasySphereE[\_ZTVN6chrono16ChBodyEasySphereE]+0x4a0): undefined reference to ‘non-virtual thunk to chrono:ChBody::ComputeJacobiForRollingContactPart(chrono::ChVector const&, pleCarrier\_lvars\<6\> \>&, chrono::ChConstraintTuple\_lvars\<chrono::ChVariableTupleCarrier\_lvars\<6\> \>&, bool)’

##and other **undefined reference** like that

collect2: error: ld returned 1 exit status

gcc-8.4.0  
cuda 10.2  
chrono 4.0.0  
centos 7

it has been confused me a few days.  
thanks for any reply

 ![cnmcnm](https://global.discourse-cdn.com/free1/uploads/gpusph/original/1X/f31d47380846ed2c4d5d654c699d91016a04d5af.jpeg)

---

<div class="post-metadata">

**Author:** ![JoJo](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@JoJo](https://gpusph.discourse.group/u/JoJo)\
**Post date:** [October 5, 2020, 6:21am UTC](https://gpusph.discourse.group/t/failed-compile-testcase-using-chrono/122/2 "2020-10-05T06:21:12Z")

</div>

now, make clean  
then make again

 ![cnmcnmcnm](https://global.discourse-cdn.com/free1/uploads/gpusph/original/1X/aaf15b2864bb4fa3b0ef58d8f2148aa85e8fdce1.jpeg)

[MPI] NetworkManager.o/bin/sh: -lm: command not found  
but i set the macro USE\_MPI=0
