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: Thu, 21 Aug 2014 12:04:55 +0200

I have cleaned the build directory, later:
cmake ..
make
sudo make install

I have the same error :S



2014-08-21 11:35 GMT+02:00 Martin Braun <address@hidden>:
On 08/21/2014 10:44 AM, Carlos Alberto Ruiz Naranjo wrote:
> Hello,
>
> I am creating a new block (modified wavfile_sink). Now it is only a
> copy-paste of wavfile_sink.
> I have this error in GRC:
>
> Traceback (most recent call last):
>   File "/home/carlos/Escritorio/ESA/apt_rec_v01.py", line 111, in <module>
>     tb = apt_rec_v01()
>   File "/home/carlos/Escritorio/ESA/apt_rec_v01.py", line 68, in __init__
>     self.noaa_dec_0 = sat_observer.wavfile_sink("/tmp/bien.wav", 1,
> 11025, 16)
> AttributeError: 'module' object has no attribute 'wavfile_sink'

Could be a SWIG issue -- try clearing the build dir and starting again.

M
>
> This is the code: https://github.com/qarlosalberto/MLABlock
>
> ** With sudo ldconfig doesnt run.
>
> Thank you.
>
>
>
> 2014-08-19 20:16 GMT+02:00 Carlos Alberto Ruiz Naranjo
> <address@hidden <mailto:address@hidden>>:
>
>     It runs. I have done a pull request.
>
>     Thank you all ;)
>
>
>     2014-08-18 14:12 GMT+02:00 Martin Braun <address@hidden
>     <mailto:address@hidden>>:
>
>         Carlos,
>
>
>         the functions in wavfile.cc are not publicly exported. We might
>         want to
>         change that, since wavfile.h is actually publicly visible.
>
>         You can try and add the BLOCKS_API macro in wavfile.h. That will
>         probably fix your troubles. If so, please submit a patch & pull
>         request.
>
>         M
>
>         On 08/17/2014 04:23 PM, 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 <mailto:address@hidden>
>         > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>         >
>
>
>         _______________________________________________
>         Discuss-gnuradio mailing list
>         address@hidden <mailto: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]