Opensuse Tumbleweed build failure

153 views
Skip to first unread message

Rick Kunath

unread,
Jun 22, 2022, 2:58:17 PM6/22/22
to Gqrx SDR
GQRX from the repos segfaults, so I have been trying to build from source. I've got many other apps for SDR built locally.

I get an error after cmake .. of

Make Error at src/CMakeLists.txt:115 (target_link_libraries):
  Target "gqrx" links to:

    gnuradio::gnuradio-analog

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Wondering how to proceed? gnuradio-analog is in /usr/lib64

Rick Kunath

righthal...@gmail.com

unread,
Jun 22, 2022, 7:42:24 PM6/22/22
to Gqrx SDR
I have not used SUSE in twenty years, but 

cmake -DCMAKE_INSTALL_PREFIX=/usr ../

will cure that problem on some systems. 

Rick Kunath

unread,
Jun 22, 2022, 11:34:02 PM6/22/22
to gq...@googlegroups.com, righthal...@gmail.com
That worked to get GQRX configured and built (thanks so much for the help), but now on a run I get:

gqrx
CPU Features: SSE2+ SSE4.1+ AVX+ FMA+
Using avx for xtrxdsp_iq16_sc32
Using avx for xtrxdsp_iq8_ic16
Using avx for xtrxdsp_iq16_ic16i
Using avx for xtrxdsp_iq8_ic8i
Using avx for xtrxdsp_sc32i_iq16
Using avx for xtrxdsp_iq8_sc32
Using avx for xtrxdsp_iq8_sc32i
Using avx for xtrxdsp_iq16_sc32i
Using avx for xtrxdsp_sc32_iq16
Using avx for xtrxdsp_ic16i_iq16
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio v3.11.0.0git-180-gd25a59cb
built-in source types: file fcd rtl rtl_tcp uhd miri sdrplay hackrf bladerf rfspace airspy airspyhf soapy redpitaya xtrx  
Segmentation fault (core dumped)




Robin Gape

unread,
Jun 23, 2022, 5:05:54 AM6/23/22
to gq...@googlegroups.com

Rick,

try gqrx with the -e flag (edit flag), as:

gqrx -e

which should throw up a dialogue box allowing you to choose the signal source to be used.

If that is not successful, the reset flag -r may help.

The core dump often indicates that either the wrong hardware has been selected compared to what is actually on the machine, or that there is a problem with the audio. The hardware is remembered from invocation to invocation, if the hardware has changed then all bets are off. (Somewhere, defensive programming has gone out to lunch.)

Good luck, Stay Safe,

Robin, G8DQX

--
You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gqrx+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gqrx/db5c77b6-ee7d-7ea1-be30-195f3c9d6892%40gmail.com.

Rick Kunath

unread,
Jun 23, 2022, 3:38:27 PM6/23/22
to gq...@googlegroups.com
I tried both and no luck on either. I get what I posted earlier. the -e didn't get me a chooser.

Rick Kunath
You received this message because you are subscribed to a topic in the Google Groups "Gqrx SDR" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gqrx/9Fxc0gftHJQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gqrx+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gqrx/7a633518-7c14-0edf-e424-c5e834f2b2a0%40googlemail.com.

righthal...@gmail.com

unread,
Jun 23, 2022, 6:46:03 PM6/23/22
to Gqrx SDR
It could be that your configuration files are messed up. 

ls ~/.config/gqrx/*

should list them -

rm ~/.config/gqrx/*

should destroy them. That may clear your problem

if that does not work try -

try a "which gqrx"

and where ever it is - 

ldd /usr/.../gqrx

to see if there is a loading problem.



Rick Kunath

unread,
Jun 23, 2022, 6:53:52 PM6/23/22
to gq...@googlegroups.com, righthal...@gmail.com
Thanks for the tip.

I did delete the entire gqrx directory in .config. But it still
segfaulted and a new gqrx directory didn't get created.

The below is the output of ldd /usr/bin/gqrx

------------------------

ldd /usr/bin/gqrx
    linux-vdso.so.1 (0x00007ffcc93bb000)
    libQt5Network.so.5 => /lib64/libQt5Network.so.5 (0x00007fec5e667000)
    libQt5Svg.so.5 => /lib64/libQt5Svg.so.5 (0x00007fec5e607000)
    libgnuradio-osmosdr.so.0.2.0 => /lib64/libgnuradio-osmosdr.so.0.2.0
(0x00007fec5e537000)
    libpulse.so.0 => /lib64/libpulse.so.0 (0x00007fec5e4df000)
    libpulse-simple.so.0 => /lib64/libpulse-simple.so.0
(0x00007fec5e4d7000)
    libgnuradio-digital.so.3.11.0git =>
/usr/local/lib/libgnuradio-digital.so.3.11.0git (0x00007fec5e377000)
    libgnuradio-network.so.3.11.0git =>
/usr/local/lib/libgnuradio-network.so.3.11.0git (0x00007fec5e2f7000)
    libgnuradio-audio.so.3.11.0git =>
/usr/local/lib/libgnuradio-audio.so.3.11.0git (0x00007fec5e297000)
    libQt5Widgets.so.5 => /lib64/libQt5Widgets.so.5 (0x00007fec5dba7000)
    libQt5Gui.so.5 => /lib64/libQt5Gui.so.5 (0x00007fec5d47f000)
    libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x00007fec5cebf000)
    libgnuradio-analog.so.3.11.0git =>
/usr/local/lib/libgnuradio-analog.so.3.11.0git (0x00007fec5ce37000)
    libgnuradio-filter.so.3.11.0git =>
/usr/local/lib/libgnuradio-filter.so.3.11.0git (0x00007fec5cd47000)
    libgnuradio-blocks.so.3.11.0git =>
/usr/local/lib/libgnuradio-blocks.so.3.11.0git (0x00007fec5cadf000)
    libsndfile.so.1 => /lib64/libsndfile.so.1 (0x00007fec5ca57000)
    libgnuradio-fft.so.3.11.0git =>
/usr/local/lib/libgnuradio-fft.so.3.11.0git (0x00007fec5ca1f000)
    libfftw3f.so.3 => /lib64/libfftw3f.so.3 (0x00007fec5c8a7000)
    libfftw3f_threads.so.3 => /lib64/libfftw3f_threads.so.3
(0x00007fec5c897000)
    libgnuradio-runtime.so.3.11.0git =>
/usr/local/lib/libgnuradio-runtime.so.3.11.0git (0x00007fec5c74f000)
    libgnuradio-pmt.so.3.11.0git =>
/usr/local/lib/libgnuradio-pmt.so.3.11.0git (0x00007fec5c6f7000)
    libvolk.so.2.5 => /usr/local/lib64/libvolk.so.2.5 (0x00007fec5c23f000)
    libboost_program_options.so.1.79.0 =>
/lib64/libboost_program_options.so.1.79.0 (0x00007fec5c1ff000)
    libboost_thread.so.1.79.0 => /lib64/libboost_thread.so.1.79.0
(0x00007fec5c1df000)
    libspdlog.so.1 => /lib64/libspdlog.so.1 (0x00007fec5c177000)
    libfmt.so.8 => /lib64/libfmt.so.8 (0x00007fec5c157000)
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fec5bf27000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fec5be3f000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fec5be17000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fec5bbdf000)
    libz.so.1 => /lib64/libz.so.1 (0x00007fec5bbbf000)
    libproxy.so.1 => /lib64/libproxy.so.1 (0x00007fec5bb9f000)
    libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007fec5baf7000)
    libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007fec5b7bf000)
    libboost_chrono.so.1.79.0 => /lib64/libboost_chrono.so.1.79.0
(0x00007fec5b7af000)
    libgnuradio-iqbalance.so.3.9.0 =>
/lib64/libgnuradio-iqbalance.so.3.9.0 (0x00007fec5b79f000)
    libgnuradio-funcube.so.3.10.0 =>
/lib64/libgnuradio-funcube.so.3.10.0 (0x00007fec5b767000)
    librtlsdr.so.0 => /lib64/librtlsdr.so.0 (0x00007fec5b74f000)
    libgnuradio-uhd.so.3.10.2 => /lib64/libgnuradio-uhd.so.3.10.2
(0x00007fec5b6e7000)
    libuhd.so.4.2.0 => /lib64/libuhd.so.4.2.0 (0x00007fec5acc7000)
    libmirisdr.so.0 => /lib64/libmirisdr.so.0 (0x00007fec5acbf000)
    libmirsdrapi-rsp.so.2.13 => /usr/local/lib/libmirsdrapi-rsp.so.2.13
(0x00007fec58e00000)
    libhackrf.so.0 => /lib64/libhackrf.so.0 (0x00007fec5acaf000)
    libbladeRF.so.2 => /lib64/libbladeRF.so.2 (0x00007fec5ac1f000)
    libairspy.so.0 => /lib64/libairspy.so.0 (0x00007fec5ac0f000)
    libairspyhf.so.0 => /lib64/libairspyhf.so.0 (0x00007fec5abff000)
    libSoapySDR.so.0.8 => /usr/local/lib64/libSoapySDR.so.0.8
(0x00007fec58d87000)
    libxtrx.so.0 => /lib64/libxtrx.so.0 (0x00007fec58d27000)
    libgnuradio-blocks.so.3.10.2 => /lib64/libgnuradio-blocks.so.3.10.2
(0x00007fec58b4f000)
    libgnuradio-runtime.so.3.10.2 =>
/lib64/libgnuradio-runtime.so.3.10.2 (0x00007fec589f7000)
    libgnuradio-pmt.so.3.10.2 => /lib64/libgnuradio-pmt.so.3.10.2
(0x00007fec5899f000)
    libpulsecommon-16.0.so =>
/usr/lib64/pulseaudio/libpulsecommon-16.0.so (0x00007fec58917000)
    libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007fec588bf000)
    libgmpxx.so.4 => /lib64/libgmpxx.so.4 (0x00007fec5abef000)
    libgmp.so.10 => /lib64/libgmp.so.10 (0x00007fec58817000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fec5e857000)
    libasound.so.2 => /lib64/libasound.so.2 (0x00007fec5870f000)
    libjack.so.0 => /lib64/libjack.so.0 (0x00007fec586b7000)
    libportaudio.so.2 => /lib64/libportaudio.so.2 (0x00007fec58687000)
    libGL.so.1 => /lib64/libGL.so.1 (0x00007fec585f7000)
    libpng16.so.16 => /lib64/libpng16.so.16 (0x00007fec585a7000)
    libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007fec584b7000)
    libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007fec583df000)
    libdouble-conversion.so.3 => /lib64/libdouble-conversion.so.3
(0x00007fec5abd7000)
    libicui18n.so.71 => /lib64/libicui18n.so.71 (0x00007fec580a7000)
    libicuuc.so.71 => /lib64/libicuuc.so.71 (0x00007fec57ea7000)
    libpcre2-16.so.0 => /lib64/libpcre2-16.so.0 (0x00007fec57df7000)
    libzstd.so.1 => /lib64/libzstd.so.1 (0x00007fec57d3f000)
    libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fec57bff000)
    libvorbisenc.so.2 => /lib64/libvorbisenc.so.2 (0x00007fec57b4f000)
    libFLAC.so.8 => /lib64/libFLAC.so.8 (0x00007fec57b0f000)
    libspeex.so.1 => /lib64/libspeex.so.1 (0x00007fec57aef000)
    libopus.so.0 => /lib64/libopus.so.0 (0x00007fec57a8f000)
    libvorbis.so.0 => /lib64/libvorbis.so.0 (0x00007fec57a5f000)
    libogg.so.0 => /lib64/libogg.so.0 (0x00007fec57a4f000)
    libunwind.so.8 => /lib64/libunwind.so.8 (0x00007fec57a2f000)
    libpython3.10.so.1.0 => /lib64/libpython3.10.so.1.0
(0x00007fec576df000)
    liborc-0.4.so.0 => /lib64/liborc-0.4.so.0 (0x00007fec57657000)
    libosmodsp.so.0 => /lib64/libosmodsp.so.0 (0x00007fec5abcf000)
    libgnuradio-audio.so.3.10.2 => /lib64/libgnuradio-audio.so.3.10.2
(0x00007fec5760f000)
    libhidapi-libusb.so.0 => /lib64/libhidapi-libusb.so.0
(0x00007fec575ff000)
    libusb-1.0.so.0 => /lib64/libusb-1.0.so.0 (0x00007fec575df000)
    libboost_filesystem.so.1.79.0 =>
/lib64/libboost_filesystem.so.1.79.0 (0x00007fec575b7000)
    libboost_serialization.so.1.79.0 =>
/lib64/libboost_serialization.so.1.79.0 (0x00007fec5756f000)
    libudev.so.1 => /lib64/libudev.so.1 (0x00007fec5753f000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fec57537000)
    libxtrxll.so.0 => /lib64/libxtrxll.so.0 (0x00007fec5751f000)
    libxtrxdsp.so.0 => /lib64/libxtrxdsp.so.0 (0x00007fec57507000)
    liblms7compact.so.0 => /lib64/liblms7compact.so.0 (0x00007fec574f7000)
    libthrift-0.16.0.so => /lib64/libthrift-0.16.0.so (0x00007fec5742f000)
    libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fec573ff000)
    libGLX.so.0 => /lib64/libGLX.so.0 (0x00007fec573c7000)
    libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007fec5730f000)
    libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007fec5723f000)
    libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007fec57217000)
    liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fec571df000)
    liblz4.so.1 => /lib64/liblz4.so.1 (0x00007fec571b7000)
    libcap.so.2 => /lib64/libcap.so.2 (0x00007fec571a7000)
    libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007fec57067000)
    libicudata.so.71 => /lib64/libicudata.so.71 (0x00007fec5705f000)
    libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fec56fcf000)
    libusb3380.so.0 => /lib64/libusb3380.so.0 (0x00007fec56fbf000)
    libXau.so.6 => /lib64/libXau.so.6 (0x00007fec56fb7000)
    libX11.so.6 => /lib64/libX11.so.6 (0x00007fec56e6f000)
    libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fec56e4f000)
    libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007fec56e3f000)
    libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007fec56e17000)
    libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1
(0x00007fec56def000)



Rick Kunath

unread,
Jun 23, 2022, 6:57:22 PM6/23/22
to gq...@googlegroups.com, righthal...@gmail.com
Ran gqrx if gdb and got this:

Thread 1 "gqrx" received signal SIGSEGV, Segmentation fault.
0x00007ffff5f88f95 in gr::hier_block2::~hier_block2() () from
/usr/local/lib/libgnuradio-runtime.so.3.11.0git




righthal...@gmail.com

unread,
Jun 23, 2022, 7:38:31 PM6/23/22
to Gqrx SDR

What SDR are you trying to use ? - Several of them have their own specific problems.

Rick Kunath

unread,
Jun 23, 2022, 8:15:14 PM6/23/22
to gq...@googlegroups.com, righthal...@gmail.com
I have an RSP 2 Pro and was trying to use my RSP Duo. This worked fine
in gqrx until a Suse update of about a month ago. Since then it segfaults.

That's true of the repo version and of the source built version.

I have gnuradio and volk locally built and all pass their respective
tests 100%


righthal...@gmail.com

unread,
Jun 23, 2022, 8:47:41 PM6/23/22
to Gqrx SDR
If you are Using a SDRPlay RSP Duo you will need the API 3.07,  you can get it from -


Install that and see if you still have problems.

Rick Kunath

unread,
Jun 23, 2022, 8:52:18 PM6/23/22
to gq...@googlegroups.com, righthal...@gmail.com
Yes, it's installed and working. Linrad 5 works with that and SDR++ does
too.

Like I said gqrx was working, then stopped after an OS update.

righthal...@gmail.com

unread,
Jun 23, 2022, 8:58:50 PM6/23/22
to Gqrx SDR
What does 

SoapySDRUtil --find

show you ?


righthal...@gmail.com

unread,
Jun 23, 2022, 9:43:24 PM6/23/22
to Gqrx SDR
It could be that gnuradio is having problems, try run -

gnuradio-companion

with this script -

https://github.com/righthalfplane/rfspace/blob/master/SdrplayTV39TS.grc

does it work ?





Rick Kunath

unread,
Jun 23, 2022, 11:36:16 PM6/23/22
to gq...@googlegroups.com, righthal...@gmail.com
See below...

SoapySDRUtil --find
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Found device 0
  driver = sdrplay
  label = SDRplay Dev0 RSPduo 1806007932 - Single Tuner
  mode = ST
  serial = I deleted for security

Found device 1
  driver = sdrplay
  label = SDRplay Dev1 RSPduo 1806007932 - Dual Tuner
  mode = DT
  serial = I deleted for security

Found device 2
  driver = sdrplay
  label = SDRplay Dev2 RSPduo 1806007932 - Master
  mode = MA
  serial = I deleted for security

Found device 3
  driver = sdrplay
  label = SDRplay Dev3 RSPduo 1806007932 - Master (RSPduo sample rate=8Mhz)
  mode = MA8
  serial = 1806007932


On 6/23/22 20:58, righthal...@gmail.com wrote:
> SoapySDRUtil --find

Rick Kunath

unread,
Jun 23, 2022, 11:45:53 PM6/23/22
to gq...@googlegroups.com, righthal...@gmail.com
It loads but I get this:

Loading: "/home/rick/Sources/SdrplayTV39TS.grc"
Error: mapping values are not allowed here
  in "/home/rick/Sources/SdrplayTV39TS.grc", line 28, column 66
>>> Failure


righthal...@gmail.com

unread,
Jun 24, 2022, 12:30:33 AM6/24/22
to Gqrx SDR
The "SoapySDRUtil --find" looks great - How about -

SoapySDRUtil --info

The error does not make sense there is nothing in column 66 on line 28. 

I have attached my version - see if it does the same thing as yours.
SdrplayTV39TS.grc.txt

Chris Vine

unread,
Jun 24, 2022, 11:02:48 AM6/24/22
to gq...@googlegroups.com
You have a broken gnuradio installation. You appear to have
gnuradio-3.11git in /usr/local/lib and some bits of gnuradio-3.9
and gnuradio-3.10 in /lib64. (/lib64 is a very odd place to put
gnuradio, how did it get there?)

You will never get such a mixture of versions to work. I should get
rid of all your gnuradio and gqrx stuff and start again, preferably
using the latest version of gnuradio-3.10. Do a very careful
search and remove ALL old crud before attempting a new install.

Rick Kunath

unread,
Jun 24, 2022, 11:06:11 AM6/24/22
to gq...@googlegroups.com, Chris Vine
Will do and thank you.

Rick Kunath


righthal...@gmail.com

unread,
Jun 24, 2022, 11:53:55 AM6/24/22
to Gqrx SDR
It just occurred to me - if you system uses "apt-get" and you have not done a

sudo apt-get update
sudo apt-get upgrade

That often cures problems.

Rick Kunath

unread,
Jun 24, 2022, 11:58:05 AM6/24/22
to gq...@googlegroups.com, righthal...@gmail.com
I have updated. Suse uses a different scheme and I am updated.

But later I'm going to clean out all of the gnuradio stuff and start
over. Some of the git stuff is distro provided. I did build a local copy
but that's already uninstalled.

Rick Kunath

righthal...@gmail.com

unread,
Jun 24, 2022, 1:26:13 PM6/24/22
to Gqrx SDR

With Ubuntu 20.04, I have done four fresh installs since April - things get messed up and a new install seems to be the only way to clear the problems. Each new install acts a little different than the last, because they bring in all the new updates.

Richard Bown

unread,
Jun 24, 2022, 2:15:10 PM6/24/22
to gq...@googlegroups.com
This is why I use Linux Mint, use Ubuntu libs , but they wait a little while to make sure the updates are stable,
I've had no problems for ages with GQRX and LM20.3
Richard G8JVM
On Fri, 2022-06-24 at 10:26 -0700, righthal...@gmail.com wrote:

With Ubuntu 20.04, I have done four fresh installs since April - things get messed up and a new install seems to be the only way to clear the problems. Each new install acts a little different than the last, because they bring in all the new updates.
On Friday, June 24, 2022 at 8:58:05 AM UTC-7 rsku...@gmail.com wrote:
I have updated. Suse uses a different scheme and I am updated.

But later I'm going to clean out all of the gnuradio stuff and start
over. Some of the git stuff is distro provided. I did build a local copy
but that's already uninstalled.
t

Rick Kunath

On 6/24/2022 11:53 AM, righthal...@gmail.com wrote:
> It just occurred to me - if you system uses "apt-get" and you have not
> done a
>
> sudo apt-get update
> sudo apt-get upgrade
>
> That often cures problems.
>

--
You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gqrx+uns...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages