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 17:05:48 +0200

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>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJT8MIYAAoJEAFxB7BbsDrLZxkIAIZH8g/2c25J0Z21gfhsrDTJ
JP03eU4udk0PieBoYE3c3ghUwHN4zoOHyAoIG7cll6wiAmwUzJfyd+4kguG0cblK
Rhfp+iW4MM8+xCXwp6mwng6T2iAlniPJvhOy7AJvIImIHqqdA2B/tCCg9P+qrkCP
GaBiqnW31TCatMfrOwxtpT+/2kgKPQKT2BvvmPvcsC72FpTVe3a3VPeL+lZgSG6j
h2u4WRF82VeuL9hSl993BikNt9DkvQSFhrITorhhoCB9jl9vgDGBw9qKK5JMaWN1
oGMwNT6+9lyWtdVQXp/kqgAP5c2+W9bgEkFRdjn/dVOWcOkFF5aJuwCZeaYabXg=
=lIHc
-----END PGP SIGNATURE-----

_______________________________________________
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]