> swig, swig tries to "export" everything it sees in the header.
> You can probably make the error go away by adding gsl libraries to
> GR_SWIG_LIBRARIES (set this before the call to GR_SWIG_MAKE).
I
have changed the below line in CMakeLists.txt file in gnuradio/gr-howto-write-a-block/swig:
set(GR_SWIG_LIBRARIES gnuradio-howto)
to:
set(GR_SWIG_LIBRARIES gnuradio-howto gsl)
Now, I get the following error when I run my flow-graph in GRC:
Traceback (most recent call last):
File "/home/wlab/Desktop/mahboob-grc-files/top_block.py", line
15, 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/libgsl.so.0: undefined symbol: cblas_dasum
So now, is "cblas_dasum" not being identified? Why? Any suggestions?