Reproduced, slightly modified to adapt to the Kali system
OSMOCOMBB is an open source implementation of the GSM protocol stack (protocols stack), full name is open source mobile communication baseband. The goal is to achieve the three-tier implementation of the mobile phone from the physical layer (layer1) to the Layer3. But for now, the real physical layer (physical layer) does not have a real open source implementation, and for the time being, no implementation plan is seen. Only the physical layer controls. Because the real physical layer is running on the DSP core of baseband processor, it involves the implementation of many signal processing algorithms, but also involves a lot of hardware rf things.
Second, install the required packages to compile the OSMOCOMBB:
$ aptitude Install Libtool Shtool autoconf git-core pkg-config make GCC
Third, download the required gnuarm toolchain
Based on x86 architecture
$ wget http://gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2
Baidu Network Disk
$ tar XF bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2 $ mv gnuarm-* ~/gnuarm
Based on 64-bit architecture
Baidu Network Disk
$ tar XF bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2$ mv gnuarm-* ~/gnuarm
In this way, we have completed the construction of the cross-compilation environment for OSMOCOMBB, and the rest is the most critical setting environment variable
$ export Path=~/gnuarm/bin: $PATH
The suggestion is to directly edit the contents of the ~/.BASHRC, add the above paragraph directly to the last.
Iv. Compiling Libosmocore:
Here Kali will prompt
Configure:error:Package requirements (Libpcsclite) were not met:
No package ' libpcsclite ' found
You need to install Libpcsclite, you can look under, and then press
Apt-cache Search Libpcsclite
Apt-get Install Libpcsclite-dev
$ git clone git://git.osmocom.org/libosmocore.git $ cd libosmocore/ $ autoreconf-i $./configure $ make $ make install $ cd . $ ldconfig
The Ldconfig command must not forget to execute, otherwise OSMOCOMBB will not find libosmocore.so.4 error when running after compiling.
Five, compile OSMOCOMBB:
$ git clone git://git.osmocom.org/osmocom-bb.git $ cd osmocom-bb $ git pull--rebase $ cd src $ make
Basically all the compile operations have been completed! Enjoy your toys!
Installation method of OSMOCOMBB in Kali