Again gr/bladeRF/gr-osmosdr/libusbx/gqrx do not fit together

Hi out there,

Again the bundle of gr, bladerf, gr-osmosdr/iqbal, libusbx and gqrx do
not fit together.

After updating bladerf gqrx does not start any more, giving this error:

gr-osmosdr v0.1.0-46-g05d51b53 (0.1.1git) gnuradio v3.7.2.1-86-g324cdab6
built-in source types: file bladerf
Using Volk machine: avx_32_mmx_orc
gr-osmosdr v0.1.0-46-g05d51b53 (0.1.1git) gnuradio v3.7.2.1-86-g324cdab6
built-in source types: file bladerf
gqrx/gqrx: symbol lookup error: /usr/local/lib/libbladeRF.so.0:
undefined symbol: libusb_get_version
ras@ubuntu:~$

So I removed everything but gnuradio and built/installed it all from
scratch again. libusbx, bladerf, gr-osmosdr/Iqbal, gqrx - when building
gqrx, it fails with this one:

g++ -Wl,-O1 -o gqrx main.o mainwindow.o receiver.o remote_control.o
remote_control_settings.o cafsk12.o costabf.o agc_impl.o correct_iq_cc.o
lpf.o resampler_xx.o rx_demod_am.o rx_demod_fm.o rx_fft.o rx_filter.o
rx_meter.o rx_agc_xx.o rx_noise_blanker_cc.o sniffer_f.o stereo_demod.o
udp_sink_f.o afsk1200win.o agc_options.o audio_options.o demod_options.o
dockinputctl.o dockaudio.o dockfft.o dockiqplayer.o dockrxopt.o
freqctrl.o ioconfig.o meter.o nb_options.o plotter.o qtcolorpicker.o
nbrx.o receiver_base.o wfmrx.o pa_device_list.o pa_sink.o pa_source.o
moc_mainwindow.o moc_remote_control.o moc_remote_control_settings.o
moc_cafsk12.o moc_afsk1200win.o moc_agc_options.o moc_audio_options.o
moc_demod_options.o moc_dockaudio.o moc_dockfft.o moc_dockinputctl.o
moc_dockiqplayer.o moc_dockrxopt.o moc_freqctrl.o moc_ioconfig.o
moc_meter.o moc_nb_options.o moc_plotter.o moc_qtcolorpicker.o
qrc_icons.o -L/usr/lib/i386-linux-gnu -lboost_system
-lboost_program_options -lrt -lpulse-simple
-lpulse -L/usr/local/lib -lgnuradio-analog -lgnuradio-filter
-lgnuradio-fft -lgnuradio-osmosdr -lgnuradio-blocks -lgnuradio-runtime
-lgnuradio-pmt -lQtSvg -lQtGui -lQtNetwork -lQtCore -lpthread
/usr/local/lib/libbladeRF.so.0: undefined reference to
`libusb_get_version’
collect2: ld returned 1 exit status
make: *** [gqrx] Error 1
ras@ubuntu:~/gqrx$

Any ideas?

Thanks a lot for your ideas, and with best regards

Ralph.

Ralph A. Schmid
Mondstr. 10
90762 Frth
+49-171-3631223
[email protected]
http://www.bclog.de/

Hi Ralph,

libusb_get_version() was added I believe around 1.0.10?

It’s wrapped in a logging enabled flag so if you disable logging then
maybe it will get past it:

bladeRF/host/libraries/libbladeRF/src/backend/libusb.c at 009d8181e0799f3b8e282e22f6ac793ac9b85f85 · Nuand/bladeRF · GitHub

I’ll take a look at how we can help fix that on our end.

Try updating libusb(x) in the meantime?

Brian

On Fri, Dec 13, 2013 at 12:25 PM, Ralph A. Schmid, dk5ras