On Feb 3, 2009, at 12:33 PM, Fabian Uehlin wrote:
if /usr/bin/swig -c++ -fvirtual -python -modern -keyword -w511 - outdir -DOMNITHREAD_POSIX=1 -I/usr/include -
[snip]
Unable to open file -DOMNITHREAD_POSIX=1/ gnuradio_swig_py_runtime.py: No such file or directory
make[5]: *** [gnuradio_swig_py_runtime.cc] Error 1
make[5]: Leaving directory `/home/openbts/Desktop/gnuradio/gnuradio- core/src/lib/swig'

What's the problem? I have upgraded to swig version 1.3.38, the other packages are the normal Ubuntu versions of it.

$(builddir) isn't being set (properly? not at all?) by autotools ... the SWIG arguments (including "-outdir $(builddir)") are in the top- level Makefile.common:66 , so if you look in gnuradio-core/src/lib/ swig/Makefile , you should find the line "builddir = ." if autotools are working.

If you go back to SWIG 1.3.36 (or whatever the OS provides by default), does compiling work?

If not, try editing Makefile.common and changing that particular $ (builddir) to "." (without the quotes, just the period). - MLD


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to