Sunday, April 15, 2012

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

Could anyone please help me resolve this.

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

I am building from from git tag v3.5.3. with cmake, make.

I have patched hid-libusb.c to add:-
#include <time.h>
...with no change.

Is there a new build require that I am missing?
I currently have the BRs that were needed for 3.5.1 in the spec file. as
I am updating our distro package from 3.5.1.

Thanks
Barry

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

No comments:

Post a Comment