|
From: | raf raf |
Subject: | Re: [Discuss-gnuradio] .so: undefined symbol: _ZN2gr6blocks12count_bits16E |
Date: | Tue, 11 Feb 2014 09:28:59 +0100 |
Hello All,
Thank you for your answer. I did a command seen in this snapshot : address@hidden:/usr/local/lib$ nm libgnuradio-ieee_868_915.so |grep _ZN2gr6blocks12count_bits16Ej U _ZN2gr6blocks12count_bits16Ej address@hidden:/usr/local/lib$ c++flit _ZN2gr6blocks12count_bits16Ej No command 'c++flit' found, did you mean: Command 'c++filt' from package 'binutils' (main) c++flit: command not found address@hidden:/usr/local/lib$ c++filt _ZN2gr6blocks12count_bits16Ej gr::blocks::count_bits16(unsigned int) The symbol is the instruction gr::blocks::count_bits16(unsigned int). I Changed this function by blocks::count_bits16(unsigned int), but i get a same error. Date: Tue, 11 Feb 2014 10:02:37 +0530 Subject: Re: [Discuss-gnuradio] .so: undefined symbol: _ZN2gr6blocks12count_bits16E From: address@hidden To: address@hidden CC: address@hidden; address@hidden; address@hidden Hi raf, I had similar problems when I was making OOT modules last summer. The problem with me was that I had not defined the destructor for my blocks in the .cc file.
You can run cd /usr/local/lib/ nm libgnuradio-ieee_868_915.so | grep _ZN2gr6blocks12count_bits16Ej and see if this symbol is undefined. I had run c++filt symbol-name (replace symbol-name with _ZN2gr6blocks12count_bits16Ej in your case) to see what this symbol is. On Tue, Feb 11, 2014 at 1:43 AM, raf raf <address@hidden> wrote:
-- Manu T S |
[Prev in Thread] | Current Thread | [Next in Thread] |