wpa_supplicant, eloop_register_timeout() and ntpdate

Johannes Berg johannes
Thu Nov 14 03:53:33 PST 2013


On Thu, 2013-11-14 at 10:40 +0100, Holger Schurig wrote:
> Another issue with patch b02ac4b02793dfcf.txt is that in glibc 2.17
> clock_gettime moved into the C library. Before (e.g. on Debian
> Wheezy's eglibc 2.13) it used to be in librt. So we need now a -lrt
> for those systems ...
> 
> cc -Wl,--as-needed  -o wpa_cli wpa_cli.o ../src/common/wpa_ctrl.o
> ../src/utils/wpa_debug.o ../src/utils/common.o ../src/utils/os_unix.o
> ../src/utils/eloop.o ../src/utils/edit.o
> ../src/utils/os_unix.o: In function `os_get_reltime':
> /home/schurig/d/mkimage/hostap/wpa_supplicant/../src/utils/os_unix.c:74:
> undefined reference to `clock_gettime'

Yes, of course. I saw that in the manpage but ignored it for now - I
have no claims for completeness of my patch :-)

johannes




More information about the Hostap mailing list