undefined reference to clock_gettime

I got this error when trying to statically link libevent2 so I could benchmark it. I just added -lrt to the Makefile and all was well.

Leave a Reply

Your email address will not be published.