discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Problem installing gqrx


From: Carl Olsson
Subject: Re: [Discuss-gnuradio] Problem installing gqrx
Date: Thu, 17 Sep 2015 12:51:47 +0200

Dear Chris,

Thank you for the help. 

I tried editing the makefile in "pybombs/src/gqrx" and then I run "sudo ./pybombs install gqrx" again.
However the installation still failed with the error message below.

And if I run 
"sudo find / -name libuhd.so\*"

/usr/lib/x86_64-linux-gnu/libuhd.so.003.007
/usr/lib/x86_64-linux-gnu/libuhd.so.003
/usr/local/lib/libuhd.so
/usr/local/lib/libuhd.so.003.010
/usr/local/lib/libuhd.so.003
/home/carl/pybombs/src/uhd/host/build/lib/libuhd.so
/home/carl/pybombs/src/uhd/host/build/lib/libuhd.so.003.010
/home/carl/pybombs/src/uhd/host/build/lib/libuhd.so.003

Thanks again for taking your time!

Best
Carl



Installing from source: gqrx
Building:    (100%) [==========================================================]
Build failed. Re-trying with reduced makewidth and higher verbosity.
g++ -m64 -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 decoder_impl.o parser_impl.o resampler_xx.o rx_agc_xx.o rx_demod_am.o rx_demod_fm.o rx_fft.o rx_filter.o rx_meter.o rx_noise_blanker_cc.o rx_rds.o sniffer_f.o stereo_demod.o udp_sink_f.o afsk1200win.o agc_options.o audio_options.o bookmarks.o bookmarkstablemodel.o bookmarkstaglist.o demod_options.o dockaudio.o dockbookmarks.o dockinputctl.o dockrds.o dockrxopt.o dockfft.o freqctrl.o ioconfig.o iq_tool.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_bookmarks.o moc_bookmarkstablemodel.o moc_bookmarkstaglist.o moc_demod_options.o moc_dockaudio.o moc_dockbookmarks.o moc_dockfft.o moc_dockinputctl.o moc_dockrds.o moc_dockrxopt.o moc_freqctrl.o moc_ioconfig.o moc_iq_tool.o moc_meter.o moc_nb_options.o moc_plotter.o moc_qtcolorpicker.o qrc_icons.o qrc_textfiles.o    -L/usr/lib/x86_64-linux-gnu -lboost_system -lboost_program_options -lrt -lpulse-simple -lpulse -L/usr/local/lib -lgnuradio-analog -lvolk -lgnuradio-digital -lgnuradio-filter -lgnuradio-fft -luhd -lgnuradio-osmosdr -lgnuradio-blocks -lgnuradio-runtime -lgnuradio-pmt -lQtGui -lQtNetwork -lQtCore -lpthread 
/usr/lib/x86_64-linux-gnu/libgnuradio-osmosdr.so: undefined reference to `uhd::device::find(uhd::device_addr_t const&)'
collect2: error: ld returned 1 exit status
make: *** [gqrx] Error 1
Build failed. See output above for error messages.


On 16 September 2015 at 21:46, Chris Kuethe <address@hidden> wrote:
Your problem is "/usr/lib/x86_64-linux-gnu/libgnuradio-osmosdr.so:
undefined reference to `uhd::device::find(uhd::device_addr_t const&)'"

The linker can't find UHD. I see no "-luhd" in your linker flags, so
the error makes sense... I wonder why the configuration process didn't
find UHD, though. Does it exist on your system? Try "find / -name
libuhd.so\*"

A quick fix is to edit gqrx's generated makefile and add -luhd before
-lgnuradio-osmosdr

On Wed, Sep 16, 2015 at 7:31 AM, Carl Olsson <address@hidden> wrote:
> Dear all,
>
> I have gnuradio installed on my 14.04 system using PyBOMBS.
> Now I would like to try out gqrx but I get the error message pasted below.
>
> I have found many other with this problem on the Internet and they solve it
> by removing -mt from the gqrx.lwr file.
> However, in my gqrx.lwr file the -mt is already removed. Anyone know what
> the problem might be?
>
> Best Regards
> Carl
>
> The Error Message:
>
> Checking connectivity... done.
>
>     # you probably don't need BOOST_SUFFIX=-mt
>     qmake BOOST_SUFFIX=
>
> Configuring: (100%)
> [==========================================================]
> Building:    (100%)
> [==========================================================]
> Build failed. Re-trying with reduced makewidth and higher verbosity.
> g++ -m64 -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 decoder_impl.o parser_impl.o resampler_xx.o rx_agc_xx.o rx_demod_am.o
> rx_demod_fm.o rx_fft.o rx_filter.o rx_meter.o rx_noise_blanker_cc.o rx_rds.o
> sniffer_f.o stereo_demod.o udp_sink_f.o afsk1200win.o agc_options.o
> audio_options.o bookmarks.o bookmarkstablemodel.o bookmarkstaglist.o
> demod_options.o dockaudio.o dockbookmarks.o dockinputctl.o dockrds.o
> dockrxopt.o dockfft.o freqctrl.o ioconfig.o iq_tool.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_bookmarks.o
> moc_bookmarkstablemodel.o moc_bookmarkstaglist.o moc_demod_options.o
> moc_dockaudio.o moc_dockbookmarks.o moc_dockfft.o moc_dockinputctl.o
> moc_dockrds.o moc_dockrxopt.o moc_freqctrl.o moc_ioconfig.o moc_iq_tool.o
> moc_meter.o moc_nb_options.o moc_plotter.o moc_qtcolorpicker.o qrc_icons.o
> qrc_textfiles.o    -L/usr/lib/x86_64-linux-gnu -lboost_system
> -lboost_program_options -lrt -lpulse-simple -lpulse -L/usr/local/lib
> -lgnuradio-analog -lvolk -lgnuradio-digital -lgnuradio-filter -lgnuradio-fft
> -lgnuradio-osmosdr -lgnuradio-blocks -lgnuradio-runtime -lgnuradio-pmt
> -lQtGui -lQtNetwork -lQtCore -lpthread
> /usr/lib/x86_64-linux-gnu/libgnuradio-osmosdr.so: undefined reference to
> `uhd::device::find(uhd::device_addr_t const&)'
> collect2: error: ld returned 1 exit status
> make: *** [gqrx] Error 1
> Build failed. See output above for error messages.
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



--
GDB has a 'break' feature; why doesn't it have 'fix' too?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]