[Top][All Lists]

[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 10:44:13 +0200


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'

** With sudo ldconfig doesnt run.

Thank you.

2014-08-19 20:16 GMT+02:00 Carlos Alberto Ruiz Naranjo <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>:

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.


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
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Discuss-gnuradio mailing list

reply via email to

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