Qt World Summit: Register Today!

Raspberry Pi 3 - gqrx build error

  • I hope someone can help me.
    I proceeded to the below process to build gqrx source.

    $ git clone https://github.com/csete/gqrx.git
    $ cd gqrx
    $ qmake gqrx.pro
    $ make

    But i got below message after 'qmake gqrx.pro'.

    Project MESSAGE : No prefix given. Using /usr/local
    Project MESSAGE : Gqrx configured with pulseaudio backend.

    And i got error after '$ make'

    parser_impl.o : file not recognized: File truncated
    collect2: error : ld returned 1 exit status
    Makefile:347:recipe for target 'gqrx' failed
    make : *** [gqrx] Error 1

    what should i do ?
    QT version is 5.3.2. OS is RASPBIAN.
    thank you.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Can you share the full build log ?

    On a side note, you should follow the recommended out of source build suggestion.

  • @SGaist

    19:42:05: Running steps for project gqrx...
    19:42:05: Configuration unchanged, skipping qmake step.
    19:42:05: Starting: "/usr/bin/make"
    g++ -Wl,-O1 -o gqrx main.o mainwindow.o receiver.o file_resources.o remote_control.o remote_control_settings.o cafsk12.o costabf.o agc_impl.o correct_iq_cc.o fir_decim.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 ctkRangeSlider.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 qrc_icons.o qrc_textfiles.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_ctkRangeSlider.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 -lboost_system -lboost_program_options -lrt -lpulse-simple -lpulse -lgnuradio-analog -lgnuradio-digital -lgnuradio-filter -lgnuradio-fft -lgnuradio-osmosdr -lgnuradio-blocks -lgnuradio-runtime -lgnuradio-pmt -L/usr/lib/arm-linux-gnueabihf -lQt5Svg -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lpthread
    parser_impl.o: file not recognized: File truncated
    Makefile:347: recipe for target 'gqrx' failed
    collect2: error: ld returned 1 exit status
    make: *** [gqrx] Error 1
    19:42:05: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project gqrx (kit: Qt 5.3.2 (qt5))
    When executing step "Make"
    19:42:05: Elapsed time: 00:00.

    i'm sorry to late reply.

  • Lifetime Qt Champion

    Did you re-start from a clean state ? In any case, delete that file and start again.

Log in to reply