discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] help with ImportError: dynamic module does not de


From: Murtuza
Subject: Re: [Discuss-gnuradio] help with ImportError: dynamic module does not define init function (init_gold)
Date: Sun, 7 Sep 2008 17:15:10 -0500

Never mind, I found the mistake in my Makefile.am I forgot to add the SWIG generated .cc source under _la_SOURCES primary.

Thanks to all, again
Ali

On Sun, Sep 7, 2008 at 3:41 PM, Murtuza <address@hidden> wrote:
I made my block according to gr-howto-write-a-block. I wrote the SWIG interface similar to what gr-howto-write-a-block does.

Thanks
Ali


On Sun, Sep 7, 2008 at 12:57 PM, Johnathan Corgan <address@hidden> wrote:
On Sun, Sep 7, 2008 at 12:34 AM, Murtuza <address@hidden> wrote:

> I wrote a new Gnuradio block and everything went fine including the install.
> But when i import the module in python interpreter i get this error. Can
> anyone suggest where could the problem be.
>
> ImportError: dynamic module does not define init function (init_gold)

This symbol refers to code that is created by swig.  Are you using a
customized version of gr-howto-write-a-block?

--
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/



--
Mir Murtuza Ali
Graduate Student
Center for Wireless Communications
University of Mississippi
University, MS 38677
Ph : (M) 662-202-5472 , (R) 662-513-9903



--
Mir Murtuza Ali
Graduate Student
Center for Wireless Communications
University of Mississippi
University, MS 38677
Ph : (M) 662-202-5472 , (R) 662-513-9903

reply via email to

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