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
when i want to compile gsm-reciever in ubuntu 12.04 it returns errors :
how can i fixed it thanks