C++ error: undefined reference to ‘clock_gettime’ and ‘clock_settime’

Add -lrt to the end of g++ command line. This links in the librt.so “Real Time” shared library.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)