discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Ubuntu make error -> Unable to open file gnuradio


From: Fabian Uehlin
Subject: Re: [Discuss-gnuradio] Ubuntu make error -> Unable to open file gnuradio_swig_py_runtime.py
Date: Tue, 3 Feb 2009 21:05:34 +0100

Hello!

Thanks for your response.

Am 03.02.2009 um 19:26 schrieb Michael Dickens:

Hi Fabian -

For some reason, your computer's autotools are not providing $(builddir) ... do you know what version they are?  Hence why you couldn't find reference to it in the Makefile, and why the compile errored out.
I have  autotools version 20080123.1.


SWIG_PYTHON_FLAGS = -fvirtual -python -modern -keyword \
-w511 -outdir $(builddir)

Try changing the above line in Makefile.common to:

SWIG_PYTHON_FLAGS = -fvirtual -python -modern -keyword \
-w511 -outdir .
I did the changes, run configure and make. Make returns many warnings, make check fails, see below.

Then 'configure' again to rebuild all the Makefiles.  Then compiling should work. - MLD


Here are the first warnings:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -DOMNITHREAD_POSIX=1 -I/usr/include -I/home/openbts/Desktop/gnuradio/omnithread -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/runtime -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/general -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/general -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/gengen -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/gengen -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/filter -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/filter -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/missing -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/reed-solomon -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/viterbi -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/io -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/g72x -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/swig -I/home/openbts/Desktop/gnuradio/gnuradio-core/src/lib/swig -I/home/openbts/Desktop/gnuradio/gruel/src/include -I/home/openbts/Desktop/gnuradio/gruel/src/include -I/usr/include/python2.5 -I. -g -O1 -Wno-strict-aliasing -Wno-parentheses -g -O2 -pthread -pthread -Wall -Woverloaded-virtual -MT _gnuradio_swig_py_runtime_la-gnuradio_swig_py_runtime.lo -MD -MP -MF .deps/_gnuradio_swig_py_runtime_la-gnuradio_swig_py_runtime.Tpo -c gnuradio_swig_py_runtime.cc  -fPIC -DPIC -o .libs/_gnuradio_swig_py_runtime_la-gnuradio_swig_py_runtime.o
gnuradio_swig_py_runtime.cc: In function ‘PyObject* _wrap_new_gr_msg_queue_sptr(PyObject*, PyObject*)’:
gnuradio_swig_py_runtime.cc:14009: warning: ‘argv[0]’ may be used uninitialized in this function
gnuradio_swig_py_runtime.cc: In function ‘PyObject* _wrap_new_gr_buffer_sptr(PyObject*, PyObject*)’:
gnuradio_swig_py_runtime.cc:6429: warning: ‘argv[0]’ may be used uninitialized in this function

---

Make check fails with following error:

make[4]: Entering directory `/home/openbts/Desktop/gnuradio/gr-usrp/src'
Traceback (most recent call last):
  File "./qa_usrp.py", line 24, in <module>
    import usrp_swig
  File "/home/openbts/Desktop/gnuradio/gr-usrp/src/usrp_swig.py", line 72, in <module>
    import gnuradio.gr.gnuradio_swig_py_runtime
ImportError: No module named gnuradio_swig_py_runtime
FAIL: run_tests
===================
1 of 1 tests failed
===================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/home/openbts/Desktop/gnuradio/gr-usrp/src'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/home/openbts/Desktop/gnuradio/gr-usrp/src'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/openbts/Desktop/gnuradio/gr-usrp/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/openbts/Desktop/gnuradio/gr-usrp'
make: *** [check-recursive] Error 1

reply via email to

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