On Tue, Oct 8, 2013 at 1:11 PM, Ralph A. Schmid, dk5ras <ra...@schmid.xxx> wrote: > Hi, > > With latest versions of GR / bladerf / gqrx / gr-osmosdr again something is > stuck. Gqrx does not work anymore, I get the following error during make: > > > /usr/local/lib/libgnuradio-osmosdr.so: undefined reference to > `bladerf_fpga_version' > /usr/local/lib/libgnuradio-osmosdr.so: undefined reference to > `bladerf_fw_version' > collect2: ld returned 1 exit status > make: *** [gqrx] Error 1 > ras@ubuntu:~/gqrx$ make > g++ -Wl,-O1 -o gqrx main.o mainwindow.o receiver.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 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_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 -lQtCore > -lpthread > /usr/local/lib/libgnuradio-osmosdr.so: undefined reference to > `bladerf_fpga_version' > /usr/local/lib/libgnuradio-osmosdr.so: undefined reference to > `bladerf_fw_version' > collect2: ld returned 1 exit status > make: *** [gqrx] Error 1 > ras@ubuntu:~/gqrx$ > > > When trying to run the previously built gqrx: > > gqrx > linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.003-164-g0c5099ab > > gr-osmosdr v0.1.0-13-g9b41c6aa (0.1.1git) gnuradio 3.7.2git-43-g9792b280 > built-in source types: file fcd rtl rtl_tcp uhd bladerf > Using Volk machine: avx_32_mmx_orc > QLayout: Attempting to add QLayout "" to DockInputCtl "DockInputCtl", which > already has a layout > gr-osmosdr v0.1.0-13-g9b41c6aa (0.1.1git) gnuradio 3.7.2git-43-g9792b280 > built-in source types: file fcd rtl rtl_tcp uhd bladerf > [INFO] Instance: 0 > [INFO] Found a bladeRF > [INFO] Claimed all inferfaces successfully > [INFO] Change to alternate interface 1 > [INFO] Changed into RF link mode: LIBUSB_SUCCESS > [WARNING] Could not extract serial number > [WARNING] Could not extract VCTCXO trim value > [WARNING] Could not extract FPGA size > Using nuand LLC bladeRF #0 SN 8efd2b30699e61bec690a0b37cc5ad57gqrx: symbol > lookup error: /usr/local/lib/libgnuradio-osmosdr-0.1.1git.so.0.0.0: > undefined symbol: bladerf_fw_version > ras@ubuntu:~/gqrx$ > > Any ideas out there? :)
I think it is because you don't use the latest bladerf library - or if you do, you probably still have an older version left. By the way, you should get this error while building gr-osmosdr and not while building gqrx unless you build gqrx before gr-osmosdr, which is the wrong order. I had the same build error few days ago when I tried to build gr-osmosdr in the gqrx/snapshots PPA against somebody elses bladerf debian package. I have then updated the bladerf library to the latest git where after everything built fine and is now avaialble through the gqrx PPA: https://launchpad.net/~gqrx/+archive/snapshots - though untested by me since I don't have the hardware. Alex _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio