undefined reference to `grpc::Timepoint2Timespec(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, gpr_timespec*)'
collect2: error: ld returned 1 exit status
Previously it was working fine when my code was on following version of Linux:
Linux 2.6.32-504.63.3.el6.x86_64
Then I moved my code to another machine, where I started facing the linker error. Linux version of new machine:
Linux 3.10.0-514.26.2.el7.x86_64
Any idea if there is any difference in behavior of CMake on these 2 versions of Linux?
Thank you in advance!!