Saturday, March 16, 2024

Re: Error undefined Symbol

Hi Daniel,

On 15/03/2024 12.20, Daniel González Martínez wrote:
> I am trying to do a block similar to AsyncCRC32, but with some changes. User, When I make a copy of the code into a personal block, I encounter the following problem that I am unable to resolve. The error is:

> ImportError: /usr/local/lib/libgnuradio-DaniBlock.so.1.0.0: undefined symbol: _ZN2gr7digital3crc7computeEPKhm

$ c++filt _ZN2gr7digital3crc7computeEPKhm
gr::digital::crc::compute(unsigned char const*, unsigned long)

> Could u be able to give me a solution?

You need to link your OOT module with gr-digtial, see[1] and read all of 5.3, 5.3.1 and 5.3.2 sections.

[1] https://wiki.gnuradio.org/index.php?title=FAQ#In_my_OOT_Module,_I'm_trying_to_use_a_GNU_Radio_block_or_class_but_get_an_ImportError_%22undefined_symbol%22._What_do_I_do?

Regards,
Vasil

No comments:

Post a Comment