LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Airprobe make error on ubuntu 14.04.1 64 bits (https://www.linuxquestions.org/questions/linux-newbie-8/airprobe-make-error-on-ubuntu-14-04-1-64-bits-4175706528/)

abracadabra64 01-17-2022 12:45 PM

Airprobe make error on ubuntu 14.04.1 64 bits
 
2 Attachment(s)
I get gsm.cc no such file or directory

root@ubuntu:~# uname -a
Linux ubuntu 4.4.0-148-generic #174~14.04.1-Ubuntu SMP Thu May 9 08:17:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

root@ubuntu:~/osmocom# git clone https://github.com/iamckn/airprobe.git

root@ubuntu:~/osmocom/airprobe/gsm-receiver# ./bootstrap

configure.ac:27: installing './compile'
configure.ac:27: installing './config.guess'
configure.ac:27: installing './config.sub'
configure.ac:27: installing './install-sh'
configure.ac:27: installing './missing'
src/lib/Makefile.am: installing './depcomp'

root@ubuntu:~/osmocom/airprobe/gsm-receiver# make
.
.
.
.

swig error : Unrecognized option -pthread
Use 'swig -help' for available options.
make[5]: *** [.deps/gsm-generate-stamp] Error 1
make[5]: Leaving directory `/root/osmocom/airprobe/gsm-receiver/src/lib'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I -I -I/usr/include -I/usr/include/gnuradio/swig -pthread -I/usr/local/include/ -I../../src/lib/decoder/openbtsstuff -I/usr/include/python2.7 -g -O1 -Wno-strict-aliasing -Wno-parentheses -g -O2 -Wall -Woverloaded-virtual -MT _gsm_la-gsm.lo -MD -MP -MF .deps/_gsm_la-gsm.Tpo -c -o _gsm_la-gsm.lo `test -f 'gsm.cc' || echo './'`gsm.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I -I -I/usr/include -I/usr/include/gnuradio/swig -pthread -I/usr/local/include/ -I../../src/lib/decoder/openbtsstuff -I/usr/include/python2.7 -g -O1 -Wno-strict-aliasing -Wno-parentheses -g -O2 -Wall -Woverloaded-virtual -MT _gsm_la-gsm.lo -MD -MP -MF .deps/_gsm_la-gsm.Tpo -c ./gsm.cc -fPIC -DPIC -o .libs/_gsm_la-gsm.o
g++: error: ./gsm.cc: No such file or directory
g++: fatal error: no input files
compilation terminated.
make[4]: *** [_gsm_la-gsm.lo] Error 1
make[4]: Leaving directory `/root/osmocom/airprobe/gsm-receiver/src/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/osmocom/airprobe/gsm-receiver/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/osmocom/airprobe/gsm-receiver/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/osmocom/airprobe/gsm-receiver'
make: *** [all] Error 2




Please help!!
Please refer the blow link to see output of ./configure

I am using gnuradio 3.7.2.1 (installed using apt-get install gnuradio gnuradio-dev)

shruggy 01-24-2022 05:14 PM

Looks like you're running make from the wrong directory. According to INSTALL instructions
Code:

./bootstrap
cd debug
../configure
make

Update. Ah sorry. There's no debug directory. Disregard.


All times are GMT -5. The time now is 01:12 AM.