Hi Rama/Dave - I can't say -why- the error is happening, but the error
is because for some reason the llibusb1 library is not being included in
the linking. This might be because the libusb1 library has been updated
since the last time GNU Radio was built; or, it might be for other
reasons too; not always easy to know or tell. Anyway, I'd say that the
most reliable way to get over this issue is to "rm -rf" the whole build
directory & redo the whole cmake command, make, and make install from
scratch. On most systems this will be pretty fast, so it's generally not
a big deal. Hope this helps! - MLD

On Wed, Sep 9, 2015, at 05:02 PM, Rama V wrote:
> I have uninstalled GNU Radio from /gnuradio/build directory because of
> an error and I wish to reinstall it. But when I try to do that from
> the same directory by using 'sudo make install', I keep getting an
> error as
>
> [ 97%] Built target pygen_gr_fcd_swig_ecb11 [ 98%] Built target
> pygen_gr_fcd_python_fcd_37821 Linking CXX executable fcd_nfm_rx 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to
> `libusb_free_config_descriptor' ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to
> `libusb_get_config_descriptor' ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_open' 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to
> `libusb_detach_kernel_driver' ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_get_device_list' 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_control_transfer'
> ../../lib/libgnuradio-fcd-3.7.8git.so.0.0.0: undefined reference to
> `libusb_exit' ../../lib/libgnuradio-fcd-3.7.8git.so.0.0.0: undefined
> reference to `libusb_free_device_list' ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_cancel_transfer' 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_free_transfer' 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_submit_transfer' 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_interrupt_transfer'
> ../../lib/libgnuradio-fcd-3.7.8git.so.0.0.0: undefined reference to
> `libusb_get_device_descriptor' ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_claim_interface' 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_handle_events' 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to
> `libusb_handle_events_completed' ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_close' 
> ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to
> `libusb_kernel_driver_active' ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_release_interface'
> ../../lib/libgnuradio-fcd-3.7.8git.so.0.0.0: undefined reference to
> `libusb_get_bus_number' ../../lib/libgnuradio-fcd-3.7.8git.so.0.0.0:
> undefined reference to `libusb_init' ../../lib/libgnuradio-fcd-
> 3.7.8git.so.0.0.0: undefined reference to `libusb_get_device_address'
> ../../lib/libgnuradio-fcd-3.7.8git.so.0.0.0: undefined reference to
> `libusb_alloc_transfer' ../../lib/libgnuradio-fcd-3.7.8git.so.0.0.0:
> undefined reference to `libusb_get_active_config_descriptor' collect2:
> error: ld returned 1 exit status make[2]: *** [gr-
> fcd/examples/c++/fcd_nfm_rx] Error 1 make[1]: *** [gr-
> fcd/examples/c++/CMakeFiles/fcd_nfm_rx.dir/all] Error 2 make: ***
> [all] Error 2
>
> Please help as to what I can do. I am in the middle of my experiment.
> Any suggestions will be kindly helpful.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to