Re: [PATCH] build-sys: Fix missing -lrt for clock_gettime()

2012-10-03 Thread Patrik Flykt
On tis, 2012-10-02 at 11:57 -0300, Lucas De Marchi wrote: > librt is needed for using clock_gettime(): > > /usr/bin/ld: src/ntp.o: undefined reference to symbol > 'clock_gettime@@GLIBC_2.2.5' > /usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO > /usr/lib/librt.so.1 so try adding

[PATCH] build-sys: Fix missing -lrt for clock_gettime()

2012-10-02 Thread Lucas De Marchi
librt is needed for using clock_gettime(): /usr/bin/ld: src/ntp.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5' /usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO /usr/lib/librt.so.1 so try adding it to the linker command line /usr/lib/librt.so.1: could not read symb