discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Problem while doing make in making block


From: Mohammed Ramadan
Subject: [Discuss-gnuradio] Problem while doing make in making block
Date: Sun, 3 Feb 2013 03:02:21 -0800 (PST)


i am still face problem for making simple block in gnuradio
 i am using gr_modtool
i follow the steps
1- creating the module ( named ramadan)
2 adding the block(mm)
i have 2 files in lib (mm_imp.cc, mm_imp.hh) and one file in include  (mm.h)
i made changes in the 3 files like square example in tutorial, but while building i face problem in make appears for me

address@hidden:~/gr-ramadan/build$ make
Scanning dependencies of target gnuradio-ramadan
[  5%] Building CXX object lib/CMakeFiles/gnuradio-ramadan.dir/mm_impl.cc.o
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:32:29: error: howto_square_ff.h: No such file or directory
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:39: error: ‘howto_square_ff_sptr’ does not name a type
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:62: error: ‘howto_square_ff’ has not been declared
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:62: error: ISO C++ forbids declaration of ‘howto_square_ff’ with no type
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc: In function ‘int howto_square_ff()’:
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:63: error: only constructors take base initializers
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc: At global scope:
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:73: error: expected constructor, destructor, or type conversion before ‘::’ token
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:79: error: ‘howto_square_ff’ is not a class or namespace
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc: In function ‘int general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:94: error: ‘consume_each’ was not declared in this scope
make[2]: *** [lib/CMakeFiles/gnuradio-ramadan.dir/mm_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-ramadan.dir/all] Error 2
make: *** [all] Error 2

address@hidden:~/gr-ramadan/build$

so , how can i solve this problem? can any one help me to fix this problem as i read more and still face problems. Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]