Thanks a lot Josh. I changed swigincludedir to swigincludedir = $(grincludedir)/swig -I/usr/local/include/gruel/swig Now I get these errors
wlab@ubuntu:~/gr-ieee802-15-4$ make make all-recursive make[1]: Entering directory `/home/wlab/gr-ieee802-15-4' Making all in config make[2]: Entering directory `/home/wlab/gr-ieee802-15-4/config' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/wlab/gr-ieee802-15-4/config' Making all in src make[2]: Entering directory `/home/wlab/gr-ieee802-15-4/src' Making all in lib make[3]: Entering directory `/home/wlab/gr-ieee802-15-4/src/lib' make all-am make[4]: Entering directory `/home/wlab/gr-ieee802-15-4/src/lib' /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/gnuradio -I/usr/local/include -I/usr/include/python2.7 -g -O2 -Wall -Woverloaded-virtual -pthread -MT ucla.lo -MD -MP -MF .deps/ucla.Tpo -c -o ucla.lo ucla.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/gnuradio -I/usr/local/include -I/usr/include/python2.7 -g -O2 -Wall -Woverloaded-virtual -pthread -MT ucla.lo -MD -MP -MF .deps/ucla.Tpo -c ucla.cc -fPIC -DPIC -o .libs/ucla.o ucla.cc:3123:13: error: 'ptrdiff_t' does not name a type ucla.cc:3160:21: error: expected ';' at end of member declaration ucla.cc:3160:39: error: expected ')' before 'n' ucla.cc:3175:34: error: declaration of 'operator+=' as non-function ucla.cc:3175:30: error: expected ';' at end of member declaration ucla.cc:3175:44: error: expected ')' before 'n' ucla.cc:3180:34: error: declaration of 'operator-=' as non-function ucla.cc:3180:30: error: expected ';' at end of member declaration ucla.cc:3180:44: error: expected ')' before 'n' ucla.cc:3185:33: error: declaration of 'operator+' as non-function ucla.cc:3185:30: error: expected ';' at end of member declaration ucla.cc:3185:43: error: expected ')' before 'n' ucla.cc:3190:33: error: declaration of 'operator-' as non-function ucla.cc:3190:30: error: expected ';' at end of member declaration ucla.cc:3190:43: error: expected ')' before 'n' ucla.cc:3195:5: error: 'ptrdiff_t' does not name a type ucla.cc:3563:15: error: 'swig::check_index' declared as an 'inline' variable ucla.cc:3563:15: error: 'ptrdiff_t' was not declared in this scope ucla.cc:3563: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' ucla.cc:3563:35: error: expected primary-expression before 'size' ucla.cc:3563:41: error: expected primary-expression before 'bool' ucla.cc:3563:60: error: expression list treated as compound expression in initializer [-fpermissive] ucla.cc:3563:62: error: expected ',' or ';' before '{' token In file included from /usr/include/boost/detail/sp_typeinfo.hpp:109:0, from /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:27, from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:36, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:29, from /usr/include/boost/smart_ptr/shared_ptr.hpp:32, 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 ucla_cc1k_correlator_cb.h:25, from ucla.cc:4114: /usr/include/c++/4.6/typeinfo:42:37: error: expected '}' before end of line /usr/include/c++/4.6/typeinfo:42:37: error: expected declaration before end of line make[4]: *** [ucla.lo] Error 1 make[4]: Leaving directory `/home/wlab/gr-ieee802-15-4/src/lib' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/wlab/gr-ieee802-15-4/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/wlab/gr-ieee802-15-4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wlab/gr-ieee802-15-4' make: *** [all] Error 2 I think some libraries and dependencies are still missing. Any help will do from your end.
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio