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 <[EMAIL PROTECTED]> 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 <
> [EMAIL PROTECTED]> wrote:
>
>> On Sun, Sep 7, 2008 at 12:34 AM, Murtuza <[EMAIL PROTECTED]> 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
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to