discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem with "How-to-write-a-block"-tutorial


From: Emil Molin
Subject: Re: [Discuss-gnuradio] Problem with "How-to-write-a-block"-tutorial
Date: Wed, 18 Feb 2009 15:39:52 +0100

Hi and thanks for the help, yes ive run it (and ive renamed the block to 'test' instead of 'howto_2' but i still get something wrong obviously because when running the test script i get this error:

  File "./qa_test.py", line 6, in <module>
    from gnuradio import gr, gr_unittest, test
  File "/Library/Python/2.5/site-packages/gnuradio/test.py", line 21, in <module>
    import _test
ImportError: dlopen(/Library/Python/2.5/site-packages/gnuradio/_test.so, 2): Symbol not found: __ZTV14test_double_ff
  Referenced from: /Library/Python/2.5/site-packages/gnuradio/_test.so
  Expected in: dynamic lookup

it seems like there is something wrong in the swig-generated _test.so file but how to fix that i have no idea?




2009/2/18 Dominic Spill <address@hidden>
There are a number of things that could be going wrong with the
process from configurations to building and installation.

First:  Have you re-run the "bootstrap" script?  This reads the
Makefile.am files to create the Makefile.in files.  Then the
"configure" script takes the Makefile.in files and creates the
Makefiles for building.

So try running through the whole process again:
./bootstrap
./configure
make
sudo make install


Cheers,
 Dominic


2009/2/18 Emil Molin <address@hidden>:
> Hi again, so ive done the tutorial and i got the make check to pass the test
> the howto module is obviously installed.
>
> So for a second tutorial i made a simple change to blocks i simply (like
> someone else here had done) changed the name of everything to a new module
> ("howto2) and changed it from computing the square to computing the input
> times 2. i.e. doubling it.
>
> But when im suppose to do the test it seems the module howto2 isnt
> installed, ive made all the necessary changes to the makefile.am and the
> howto.i files in the /lib folder.
>
> I also made a new test file called qa_howto_2.py and changed the makefile in
> /python folder so that it whould run that test and this seems to work its
> just that howto2 module isnt installed.
>
> Anyone knows why my howto2 module isnt installing?
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>


reply via email to

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