gr-gsm icon indicating copy to clipboard operation
gr-gsm copied to clipboard

make error installing gr-gsm on Ubuntu 20.04.3 LTS

Open bjc7 opened this issue 4 years ago • 4 comments

Hi all,

I am new to this, practicing, but receiving error after performing these steps:

git clone https://git.osmocom.org/gr-gsm cd gr-gsm mkdir build cd build cmake .. mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ make

I'm receiving the following error during make: [ 62%] Building CXX object lib/CMakeFiles/grgsm.dir/trx/trx_burst_if_impl.cc.o make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/liborc-0.4.so', needed by 'lib/libgrgsm.so.v0.42.2-99-g2de47e28'. Stop. make[1]: *** [CMakeFiles/Makefile2:955: lib/CMakeFiles/grgsm.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

I'm not sure how to fix this, please advise.

I have installed the following dependencies: cmake autoconf libtool pkg-config build-essential python-docutils libcpunnit-dev swig doxygen liblog4cpp5-dev python3-numpy python3-scipy python-gtk2 (did not install successfully...unable to locate package. figure its for python2 and don't need it?) python3-pip gnuradio-dev gr-osmosdr libosmocore-dev git

also have GNU Radio Companion 3.8.1.0

bjc7 avatar Aug 23 '21 01:08 bjc7

Hi @bjc7,

make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/liborc-0.4.so', needed by 'lib/libgrgsm.so.v0.42.2-99-g2de47e28'. Stop.

You need to install liborc-0.4-dev package.

velichkov avatar Aug 23 '21 04:08 velichkov

I got the exact same error message on Ubuntu 20.04.3 LTS, installing liborc-0.4-dev fixes the compilation issue.

chinhuat avatar Oct 18 '21 17:10 chinhuat

Hi @bjc7,

make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/liborc-0.4.so', needed by 'lib/libgrgsm.so.v0.42.2-99-g2de47e28'. Stop.

You need to install liborc4-dev package.

This package is named liborc-0.4-dev in Ubuntu 20.04. I had the same problem and installing this package fixed it. Thank you.

smrachi avatar Oct 25 '21 09:10 smrachi

i still have problems with that error , i install liborcdev dev but still

sumerpepper45 avatar May 13 '22 18:05 sumerpepper45