Sunday, April 15, 2012

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

Hi Barry - In order to help you out, we (the list) need the OS and build system info. Although buried a bit, 3 clicks from the top-level wiki on gnuradio.org is "Mailing Lists" :: "Reporting Errors" :: "I've done everything above, and I still have a question. How do I ask it?" [1]. I encourage you (and, anyone posting such issues) to read through this section before posting; doing so will provide the greatest chance of you obtaining positive results quickly. - MLD

[1] < http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors#Ive-done-everything-above-and-I-still-have-a-question-How-do-I-ask-it >

On Apr 15, 2012, at 6:10 AM, Barry Jackson wrote:

> 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.


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

No comments:

Post a Comment