gr-gsm cmake problem

427 views
Skip to first unread message

Nikos Balkanas

unread,
Apr 22, 2022, 5:16:25 AM4/22/22
to gr-...@googlegroups.com
Hi,

I have many problems upgrading to the latest gr-gsm (v. 0.42.2) with
gnuradio 3.8.3.1.
I get:
"Gnuradio could not be found because dependency Volk could not be found."

Meanwhile gnuradio-config-info shows that volk is installed and enabled:(
This seems like a gr-gsm problem. Any ideas?

TIA
Nikos

Nikos Balkanas

unread,
Apr 23, 2022, 11:22:09 AM4/23/22
to gr-...@googlegroups.com
Any news?
I even tried gnuradio 3.9.6.
Same result:(

Nikos


Nikos

Nikos Balkanas

unread,
Apr 23, 2022, 12:45:46 PM4/23/22
to gr-...@googlegroups.com
I managed to get past cmake with velikhov's git and gnuradio 3.8.5.
But still I am getting compilation errors:
> Load Error: /home/nikos/work/gr-gsm/apps/grgsm_livemon.grc: Flowgraph invalid
Compilation error

Any ideas?

Nikos

Hamza

unread,
Apr 25, 2022, 1:44:06 AM4/25/22
to gr-gsm

which ubuntu version you are using while installing gr-gsm?
Ubuntu 20 have smooth installation of gr-gsm while I've faced problems in Ubuntu 18.

Nikos Balkanas

unread,
Apr 25, 2022, 2:53:18 AM4/25/22
to Hamza, gr-gsm
I upgraded to Ubuntu 20.04...
> --
> You received this message because you are subscribed to the Google Groups "gr-gsm" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gr-gsm+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/gr-gsm/a5464436-c994-4e1b-a42c-a900c20b9267n%40googlegroups.com.

Nikos Balkanas

unread,
May 1, 2022, 10:46:42 AM5/1/22
to gr-...@googlegroups.com
Any news?
It's been over a week:(

Nikos

Nikos Balkanas

unread,
May 2, 2022, 5:12:11 AM5/2/22
to gr-...@googlegroups.com
Hi

Can anyone send me his grgsm-livemon script for Ubuntu 20.04?
I cannot build it myself and seems that older versions depend on Qt4,
which phased out after bionic (18.04):(

TIA
Nikos

Al Higgins

unread,
May 2, 2022, 5:20:35 AM5/2/22
to Nikos Balkanas, gr-gsm
Hi Nikos,

This worked for me using Ubuntu 20.04 (caveat I haven't had to install recently):

Install GnuRadio:

sudo apt install gnuradio gnuradio-dev

Install pre-requisites:

sudo apt install -y cmake git autoconf libtool pkg-config build-essential python3-docutils libcppunit-dev swig doxygen liblog4cpp5-dev gr-osmosdr libosmogsm10 libosmocodec0 libosmogsm-doc libosmosdr0 libosmocodec-doc libosmosdr-dev libosmocoding0 libosmocoding-doc libosmocore libosmocore11 libosmocore-dev libosmocore-doc libosmocore-utils libosmoctrl0 libosmoctrl-doc liborc-0.4-dev libpthread-workqueue-dev libpthread-stubs0-dev libvolk2-dev libvolk2.2

sudo ldconfig

Clone and build Gr-GSM:

cd gr-gsm
mkdir build
cd build
cmake ..
make -j$(nproc)
sudo make install
sudo ldconfig
sudo cp -r /usr/local/lib/python3/dist-packages/grgsm/ /usr/lib/python3/dist-packages/

Regards,

Al

--
You received this message because you are subscribed to the Google Groups "gr-gsm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gr-gsm+un...@googlegroups.com.

Nikos Balkanas

unread,
May 2, 2022, 5:24:43 AM5/2/22
to Al Higgins, gr-gsm
Thanks Al,

Using gnuradio 3.8.5 from sources.
Can't use packages:(

Can you send me your grgsm_livemon?

TIA
Nikos

al.hig...@gmail.com

unread,
May 2, 2022, 6:15:16 AM5/2/22
to Nikos Balkanas, gr-...@googlegroups.com
Nikos,

I assumed you meant the grgsm_livemon script held at usr/local/bin/

Hopefully the attached helps.

I'm definitely not a coder, and only vaguely a computer dude; I am more of a cellular dude. I'll continue to try and help the community where I can add value.

Regards,

Al
grgsm_livemon

Nikos Balkanas

unread,
May 2, 2022, 6:44:14 AM5/2/22
to al.hig...@gmail.com, gr-...@googlegroups.com
Yup. Thanks a lot.
I am compiling now gnuradio 3.8.1. Hope this will work:)

Nikos Balkanas

unread,
May 2, 2022, 10:47:45 AM5/2/22
to al.hig...@gmail.com, gr-...@googlegroups.com
Same problem with gnuradio 3.8.1...Flowgraph invalid:(
Also with gnuradio 3.8.1.0-rc. The version of the Ubuntu package.
Velikhof's fix was only for the package, not sources.
I will try to solve the volk issue in the main tree...

Nikos

Nikos Balkanas

unread,
May 2, 2022, 6:17:12 PM5/2/22
to al.hig...@gmail.com, gr-...@googlegroups.com
I gave up, fixing the volk issue.
Thankfully your livemon works like a charm:)

Nikos

Al Higgins

unread,
May 3, 2022, 2:53:43 AM5/3/22
to Nikos Balkanas, gr-gsm
Glad to hear it! Got to love frustrations when trying something different.

Regards,

Al

Harsh Joshi

unread,
Sep 7, 2023, 5:31:29 AM9/7/23
to gr-gsm
hi, i am trying to install gr-gsm but got following error,

In file included from /home/pi/gr-gsm/lib/decoding/control_channels_decoder_impl.cc:29:
/home/pi/gr-gsm/lib/decoding/control_channels_decoder_impl.h:28:14: fatal error: osmocom/coding/gsm0503_coding.h: No such file or directory
   28 |     #include "osmocom/coding/gsm0503_coding.h"
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [lib/CMakeFiles/grgsm.dir/build.make:173: lib/CMakeFiles/grgsm.dir/decoding/control_channels_decoder_impl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:974: lib/CMakeFiles/grgsm.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

do you know how to solve this?

Reply all
Reply to author
Forward
0 new messages