Sunday, April 15, 2012

Re: [Discuss-gnuradio] Build 3.5.3 fails linking gr-fcd (undefined reference to `clock_gettime')

On Sun, Apr 15, 2012 at 03:10, Barry Jackson <zen25000@zen.co.uk> wrote:

> CMakeFiles/gnuradio-fcd.dir/hid/hid-libusb.c.o: In function
> `hid_read_timeout':
> /home/baz/BLD/CO9a/gnuradio/BUILD/gnuradio-3.5.3/gr-fcd/lib/hid/hid-libusb.c:990:
> undefined reference to `clock_gettime'
> collect2: ld returned 1 exit status
> make[2]: *** [gr-fcd/lib/libgnuradio-fcd-3.5.3.so.0.0.0] Error 1

Looks like 'librt' is not getting linked in on your system (and
somehow is on others.) Can you run:

$ ldd gr-fcd/lib/libgnuradio-fcd-3.5.3.so.0.0.0

...and post the output here (along with more detail on your OS and compiler.)

Johnathan

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment