The same happens with clock_gettime: these packages miss adding -lrt, like on GNU/Linux. And with crypt, -lcrypt. Samuel