Looks like your library doesn't export that symbol (in this case, the
constructor of the packet_header_default class). Did you make sure that
the class bears the SPERRY_API flag?
Best regards,
Marcus
On Mon, 2018-07-30 at 16:35 -0500, Jebreel Salem wrote:
> Hi,
> I am trying to create packet_headerparser block. The purpose is to first duplicate the block and then modify it (mostly I would like to modify the dict part). I followed the the instruction in howto tutorial but I got the error below when I tried to run the qa_packet_headerparser_b.py. I am not sure what I did wrong but I was able to duplicate demux block and make it work fine. Any hint on this is grealty appreciated.
>
>
> Traceback (most recent call last):
> File "/home/dev/Gnuradio_Prjs/parser/gr-sperry/python/qa_packet_headerparser_b.py", line 28, in <module>
> import sperry.sperry_swig as sperry
> File "/usr/local/lib/python2.7/dist-packages/sperry/sperry_swig.py", line 28, in <module>
> _sperry_swig = swig_import_helper()
> File "/usr/local/lib/python2.7/dist-packages/sperry/sperry_swig.py", line 24, in swig_import_helper
> _mod = imp.load_module('_sperry_swig', fp, pathname, description)
> ImportError: /home/dev/Gnuradio_Prjs/parser/gr-sperry-debug/lib/libgnuradio-sperry-1.0.0git.so.0.0.0: undefined symbol: _ZN2gr6sperry21packet_header_defaultC1ElRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_i
>
> Thanks!
>
> Jebreel Salem
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment