[Top][All Lists]

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

Re: [Discuss-gnuradio] error related to -ImportError: and swig_import_he

From: Josh Blum
Subject: Re: [Discuss-gnuradio] error related to -ImportError: and swig_import_helper()
Date: Thu, 04 Aug 2011 09:07:46 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11

On 08/03/2011 11:07 PM, patiljagdish154 wrote:
> hi all ,
> i have write comedi block while running program i am getting error
> Traceback (most recent call last):
>   File "/home/jagdish/top_block.py", line 13, in <module>
>     import comedi
>   File "/usr/local/lib/python2.6/dist-packages/comedi/__init__.py", line 40,
> in <module>
>     from comedi_swig import *
>   File "/usr/local/lib/python2.6/dist-packages/comedi/comedi_swig.py", line
> 24, in <module>
>     _comedi_swig = swig_import_helper()
>   File "/usr/local/lib/python2.6/dist-packages/comedi/comedi_swig.py", line
> 20, in swig_import_helper
>     _mod = imp.load_module('_comedi_swig', fp, pathname, description)
> ImportError: /usr/local/lib/libgnuradio-comedi-3.3.0.so.0: undefined symbol:
> comedi_open

Did you link with libcomedi? http://www.comedi.org/doc/r4857.html

I just did some work on gr-comedi because it did not compile with the
recent versions of comedi that come with ubuntu package manager. So I
have no idea how you built the library in the first place.

Anyway work is here:


reply via email to

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