discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Undefined symbol: wav_write_sample


From: Carlos Alberto Ruiz Naranjo
Subject: Re: [Discuss-gnuradio] Undefined symbol: wav_write_sample
Date: Sun, 17 Aug 2014 20:16:55 +0200

I have:

- Ubuntu 13.10
- Kernel: 3.11.0-19-generic
- GNURadio 3.7.2.1


2014-08-17 17:45 GMT+02:00 Marcus Müller <address@hidden>:
yes, should be linked against libgnuradio-blocks.so.
So something goes wrong when setting the link libraries.
In your main CMakeLists.txt, can you try to delete the BLOCK, GRU and GR entries (I don't think that these exist as GNU Radio submodules; how did they get there?) and try again?

Greetings,
Marcus



On 17.08.2014 17:05, Carlos Alberto Ruiz Naranjo wrote:
> Hello Marcus,
>
> It is the out:
>
> address@hidden:~/Escritorio/gr-MLABlocks/build$ ldd
> /usr/local/lib/libgnuradio-MLABlocks.so
>     linux-vdso.so.1 =>  (0x00007fff3b5fe000)
>     libboost_system.so.1.53.0 =>
> /usr/lib/x86_64-linux-gnu/libboost_system.so.1.53.0 (0x00007f6bdf7a2000)
>     libgnuradio-runtime-3.7.2.1.so.0.0.0 =>
> /usr/local/lib/libgnuradio-runtime-3.7.2.1.so.0.0.0 (0x00007f6bdf4f1000)
>     libgnuradio-pmt-3.7.2.1.so.0.0.0 =>
> /usr/local/lib/libgnuradio-pmt-3.7.2.1.so.0.0.0 (0x00007f6bdf2a9000)
>     libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f6bdefa5000)
>     libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6bdeca1000)
>     libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> (0x00007f6bdea8a000)
>     libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6bde6c2000)
>     libvolk.so.0.0.0 => /usr/local/lib/libvolk.so.0.0.0 (0x00007f6bde37c000)
>     libboost_filesystem.so.1.53.0 =>
> /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.53.0 (0x00007f6bde165000)
>     libboost_thread.so.1.53.0 =>
> /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.53.0 (0x00007f6bddf4f000)
>     libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f6bddd32000)
>     librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6bddb29000)
>     /lib64/ld-linux-x86-64.so.2 (0x00007f6bdfbf1000)
>     liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0
> (0x00007f6bdd8aa000)
>
> Should be linked libgnuradio-blocks, right?
>
>
>
>
> 2014-08-17 16:54 GMT+02:00 Marcus Müller <address@hidden>:
>

Hi Carlos,


you seem to be setting up linking correctly (if you're not even
requiring more GNU Radio modules than actually necessary in your main
CMakeLists.txt); however try doing
ldd /usr/local/lib/libgnuradio-MLABlocks.so
and check whether the library really is linked against libgnuradio-blocks.

Greetings,
Marcus

On 17.08.2014 16:23, Carlos Alberto Ruiz Naranjo wrote:
>>> Hello,
>>>
>>> I am developing a block. Now it is a copy of Wav File Sink block.
>>> It compiles fine but in the GRC gives me the error:
>>>
>>> ImportError: /usr/local/lib/libgnuradio-MLABlocks.so: undefined
>>> symbol: _ZN2gr6blocks16wav_write_sampleEP8_IO_FILEsi
>>>
>>> This is the block: https://github.com/qarlosalberto/wav-sink
>>>
>>> *I have done: sudo ldconfig ** I have serched in the mailing list,
>>> but I haven't solved the problem.
>>>
>>> Thank you.
>>>
>>>
>>>
>>> _______________________________________________ Discuss-gnuradio
>>> mailing list address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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