"Brian Padalino" <[EMAIL PROTECTED]> wrote:
I had an old version of GNURadio installed on my cygwin setup, but decided to get the current development version in the svn repository. After checking it out, bootstrapping, configuring and starting a make - I had an error where the linker complained about omnithread being made into a static library and not shared followed by a whole bunch of missing omnithread declarations. I got around this by doing --enable-shared=omnithread at configure, and it went past that point.
This has the same effect as --enable-shared=no, which won't work. (The documentation on the --enable-shared option is misleading.)
Once the build was successful, I went and did an make install and tried to run python and import gr. Here are the results: $ python Python 2.4.3 (#1, May 18 2006, 07:40:45) [GCC 3.3.3 (cygwin special)] on cygwin Type "help", "copyright", "credits" or "license" for more information.from gnuradio import grTraceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/__init__.py", line 27, in ? from gnuradio_swig_python import *File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_python.py",line 23, in ? from gnuradio_swig_py_runtime import *File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py",line 6, in ? import _gnuradio_swig_py_runtime ImportError: No module named _gnuradio_swig_py_runtime I have 2 files in /usr/local/lib/python2.4/site-packages/gnuradio/gr with the name _gnuradio_swig_py_runtime - one an ar archive and the other a libtool library file.
As expected, no .dll files are produced when --enable-shared is turned off.When the omnithread library was made into a separate module, some magic needed to make it work on windows was omitted. These are supplied in the attached .patch files (to use: cd gnuradio; patch -p0 -i foo.patch). Rerun ./bootstrap and ./config after applying the patches. See ticket #138 at www.gnuradio.org/trac for more details.
-- Don W.
omni070211.patch
Description: Binary data
mblock070211.patch
Description: Binary data
_______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
