Signal processing block, ImportError, undefined symbol

Hi all

I created a new signal processing block. The examples “howto_square_ff”,
“howto_square2_ff” work fine. If I use “sudo make” and “sudo make
check” (with my new block included) I get an Error:
“Traceback (most recent call last):
File “./qa_howto.py”, line 24, in
import howto
File “/home/hoim/gr-howto-write-a-block-3.0.2/src/lib/howto.py”, line
24, in
_howto = swig_import_helper()
File “/home/hoim/gr-howto-write-a-block-3.0.2/src/lib/howto.py”, line
16, in swig_import_helper
import _howto
ImportError:
/home/hoim/gr-howto-write-a-block-3.0.2/src/lib/.libs/_howto.so:
undefined symbol: _Z25howto_make_detect_cut_vccjjjj”

I saw in the Discuss-gnuradio a thread called “Help with Undefined
Symbol error — undefined sy” with nearly the same problem, but in my
case I have not found a incorrectly named “make” function.

Any idea? Any help will be appreciated

Thanks
Michael

On Wed, 2011-05-18 at 16:16 +0200, Michael Höin wrote:

_howto = swig_import_helper()

File “/home/hoim/gr-howto-write-a-block-3.0.2/src/lib/howto.py”, line
16, in swig_import_helper
import _howto
ImportError: /home/hoim/gr-howto-write-a-block-3.0.2/src/lib/.libs/_howto.so:
undefined symbol: _Z25howto_make_detect_cut_vccjjjj"

I saw in the Discuss-gnuradio a thread called “Help with Undefined
Symbol error — undefined sy” with nearly the same problem, but in my
case I have not found a incorrectly named “make” function.

make distclean
grep “howto” * -r

that will give you a list of the things you need to change. ignore the
various Makefile.swig.gen, Makefile.in, etc.

–n

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs