Giter Site home page Giter Site logo

airprobe's Issues

gsm.cc:3112:13: error: 'ptrdiff_t' does not name a type

when i want to compile gsm-reciever in ubuntu 12.04 it returns errors :
how can i fixed it
thanks

-pthread -MT gsm.lo -MD -MP -MF .deps/gsm.Tpo -c gsm.cc -fPIC -DPIC -o .libs/gsm.o
gsm.cc:3112:13: error: 'ptrdiff_t' does not name a type
gsm.cc:3149:21: error: expected ';' at end of member declaration
gsm.cc:3149:39: error: expected ')' before 'n'
gsm.cc:3164:34: error: declaration of 'operator+=' as non-function
gsm.cc:3164:30: error: expected ';' at end of member declaration
gsm.cc:3164:44: error: expected ')' before 'n'
gsm.cc:3169:34: error: declaration of 'operator-=' as non-function
gsm.cc:3169:30: error: expected ';' at end of member declaration
gsm.cc:3169:44: error: expected ')' before 'n'
gsm.cc:3174:33: error: declaration of 'operator+' as non-function
gsm.cc:3174:30: error: expected ';' at end of member declaration
gsm.cc:3174:43: error: expected ')' before 'n'
gsm.cc:3179:33: error: declaration of 'operator-' as non-function
gsm.cc:3179:30: error: expected ';' at end of member declaration
gsm.cc:3179:43: error: expected ')' before 'n'
gsm.cc:3184:5: error: 'ptrdiff_t' does not name a type
gsm.cc:3552:15: error: 'swig::check_index' declared as an 'inline' variable
gsm.cc:3552:15: error: 'ptrdiff_t' was not declared in this scope
gsm.cc:3552:15: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: 'std::ptrdiff_t'
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: 'std::ptrdiff_t'
gsm.cc:3552:35: error: expected primary-expression before 'size'
gsm.cc:3552:41: error: expected primary-expression before 'bool'
gsm.cc:3552:60: error: expression list treated as compound expression in initializer [-fpermissive]
gsm.cc:3552:62: error: expected ',' or ';' before '{' token
In file included from /usr/include/boost/throw_exception.hpp:37:0,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:31,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/local/include/gnuradio/gr_types.h:27,
from /usr/local/include/gnuradio/gr_runtime_types.h:27,
from /usr/local/include/gnuradio/gr_basic_block.h:27,
from /usr/local/include/gnuradio/gr_block.h:27,
from gsm_burst_ff.h:4,
from gsm.cc:4105:
/usr/include/boost/exception/exception.hpp:137:40: error: expected '}' before end of line
/usr/include/boost/exception/exception.hpp:137:40: error: expected declaration before end of line
make[4]: *** [gsm.lo] Error 1
make[4]: Leaving directory /home/sp/Downloads/airprobe/gsm-tvoid/src/lib' make[3]: *** [all] Error 2 make[3]: Leaving directory /home/sp/Downloads/airprobe/gsm-tvoid/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/sp/Downloads/airprobe/gsm-tvoid/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/sp/Downloads/airprobe/gsm-tvoid'
make: *** [all] Error 2

Undefined Symbols Error while executing gsm_receive

Following is the trace of the error generated:

Traceback (most recent call last):
File "./gsm_receive.py", line 12, in
import gsm
File "../lib/gsm.py", line 26, in
_gsm = swig_import_helper()
File "../lib/gsm.py", line 18, in swig_import_helper
import _gsm
ImportError: ../lib/.libs/_gsm.so: undefined symbol: _ZTI8gr_block

Is there any workaround this?

when i make gsm-receiver it returns GSMCommon.h:62:36: error: 'usleep' was not declared in this scope

in debian 8 jessie when i make gsm-receiver it returns this errors ๐Ÿ‘
how can fix this..................

                                             ^

In file included from GSMCommon.cpp:23:0:
GSMCommon.h: In function 'void GSM::sleepFrames(unsigned int)':
GSMCommon.h:62:36: error: 'usleep' was not declared in this scope
{ usleep(frames_gFrameMicroseconds); }
^
GSMCommon.h: In function 'void GSM::sleepFrame()':
GSMCommon.h:66:29: error: 'usleep' was not declared in this scope
{ usleep(gFrameMicroseconds); }
^
Makefile:535: recipe for target 'GSMCommon.lo' failed
make[5]: *_* [GSMCommon.lo] Error 1
make[5]: Leaving directory '/home/sp/Documents/airprobe-master/gsm-receiver/src/lib/decoder/openbtsstuff'
Makefile:588: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/sp/Documents/airprobe-master/gsm-receiver/src/lib/decoder'
Makefile:874: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/sp/Documents/airprobe-master/gsm-receiver/src/lib'
Makefile:414: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/sp/Documents/airprobe-master/gsm-receiver/src'
Makefile:569: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sp/Documents/airprobe-master/gsm-receiver'
Makefile:476: recipe for target 'all' failed
make: *** [all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.