[Top][All Lists]

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

[Discuss-gnuradio] run-time error when using gsl libraries in a custom b

From: Zing Yu
Subject: [Discuss-gnuradio] run-time error when using gsl libraries in a custom block
Date: Fri, 26 Oct 2012 12:39:54 -0700 (PDT)


I have a custom block which uses the GSL libraries to compute the FFT of a sequence. When I run the flow-graph containing my custom block, I get the following error.

Traceback (most recent call last):
  File "/home/wlab/my grc files/top_block.py", line 17, in <module>
    import howto
  File "/usr/local/lib/python2.7/dist-packages/howto/__init__.py", line 45, in <module>
    from howto_swig import *
  File "/usr/local/lib/python2.7/dist-packages/howto/howto_swig.py", line 26, in <module>
    _howto_swig = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/howto/howto_swig.py", line 22, in swig_import_helper
    _mod = imp.load_module('_howto_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-howto.so: undefined symbol: gsl_fft_complex_radix2_forward

I kind of know that the error is related to use of GSL within gnuradio since when I comment the below lines:
#include <gsl/gsl_fft_complex.h>
gsl_fft_complex_radix2_forward (data_fft_1, 1, d_N);

I get no error and flow-graph runs normal.

So, I think either the GSL header files are not being located by gcc or somehow the swig interface is broken. Does anyone has any suggestions?


reply via email to

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