[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] error installing gnuradio+uhd --> gr-uhd/swig
From: |
Jonathan Loo |
Subject: |
[Discuss-gnuradio] error installing gnuradio+uhd --> gr-uhd/swig |
Date: |
Wed, 11 May 2011 00:45:23 +0100 |
Hi there,
Please could someone shed some lights on the following problem I am facing.
I have installed UHD drivers following the guidance from this site:
http://www.raullen.net/2011/02/20/hello-usrp-n210-how-to-make-usrp-n210-running/
My N210 works perfectly. I have even installed openbts-uhd, all works well.
Unfortunately, I am having problem install Gnuradio with the gr-uhd.
git clone http://gnuradio.org/git/gnuradio.git
cd gnuradio
./bootstrap
./configure --enable-gr-uhd
make
All component made without errors except the gr-uhd. The errors are:
make[5]: Entering directory `/home/jonathan/gnuradio/gr-uhd/swig'
if /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../.. -I/home/jonathan/gnuradio/gnuradio-core/src/lib/runtime
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/general
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/general
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/gengen
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/gengen
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/filter
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/filter
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/missing
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/reed-solomon
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/viterbi
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/io
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/g72x
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/swig
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/hier
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/swig
-I/home/jonathan/gnuradio/gruel/src/include
-I/home/jonathan/gnuradio/gruel/src/include -I/usr/include
-I/usr/include/python2.6 -I/usr/local/include
-I/home/jonathan/gnuradio/gr-uhd/include -g -O1 -Wno-strict-aliasing
-Wno-parentheses -I../.. -pthread -MT _uhd_swig_la-uhd_swig.lo -MD -MP -MF
".deps/_uhd_swig_la-uhd_swig.Tpo" -c -o _uhd_swig_la-uhd_swig.lo `test -f
'python/uhd_swig.cc' || echo './'`python/uhd_swig.cc; \
then mv -f ".deps/_uhd_swig_la-uhd_swig.Tpo"
".deps/_uhd_swig_la-uhd_swig.Plo"; else rm -f
".deps/_uhd_swig_la-uhd_swig.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/runtime
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/general
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/general
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/gengen
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/gengen
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/filter
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/filter
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/missing
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/reed-solomon
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/viterbi
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/io
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/g72x
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/swig
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/hier
-I/home/jonathan/gnuradio/gnuradio-core/src/lib/swig
-I/home/jonathan/gnuradio/gruel/src/include
-I/home/jonathan/gnuradio/gruel/src/include -I/usr/include
-I/usr/include/python2.6 -I/usr/local/include
-I/home/jonathan/gnuradio/gr-uhd/include -g -O1 -Wno-strict-aliasing
-Wno-parentheses -I../.. -pthread -MT _uhd_swig_la-uhd_swig.lo -MD -MP -MF
.deps/_uhd_swig_la-uhd_swig.Tpo -c python/uhd_swig.cc -fPIC -DPIC -o
.libs/_uhd_swig_la-uhd_swig.o
python/uhd_swig.cc: In function ‘PyObject*
_wrap_tune_request_t_inter_freq_policy_set(PyObject*, PyObject*)’:
python/uhd_swig.cc:12088: error: ‘struct uhd::tune_request_t’ has no member
named ‘inter_freq_policy’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_tune_request_t_inter_freq_policy_get(PyObject*, PyObject*)’:
python/uhd_swig.cc:12110: error: ‘struct uhd::tune_request_t’ has no member
named ‘inter_freq_policy’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_tune_request_t_inter_freq_set(PyObject*, PyObject*)’:
python/uhd_swig.cc:12140: error: ‘struct uhd::tune_request_t’ has no member
named ‘inter_freq’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_tune_request_t_inter_freq_get(PyObject*, PyObject*)’:
python/uhd_swig.cc:12162: error: ‘struct uhd::tune_request_t’ has no member
named ‘inter_freq’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_tune_result_t_target_inter_freq_set(PyObject*, PyObject*)’:
python/uhd_swig.cc:12335: error: ‘struct uhd::tune_result_t’ has no member
named ‘target_inter_freq’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_tune_result_t_target_inter_freq_get(PyObject*, PyObject*)’:
python/uhd_swig.cc:12357: error: ‘struct uhd::tune_result_t’ has no member
named ‘target_inter_freq’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_tune_result_t_actual_inter_freq_set(PyObject*, PyObject*)’:
python/uhd_swig.cc:12387: error: ‘struct uhd::tune_result_t’ has no member
named ‘actual_inter_freq’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_tune_result_t_actual_inter_freq_get(PyObject*, PyObject*)’:
python/uhd_swig.cc:12409: error: ‘struct uhd::tune_result_t’ has no member
named ‘actual_inter_freq’
make[5]: *** [_uhd_swig_la-uhd_swig.lo] Error 1
make[5]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/jonathan/gnuradio/gr-uhd/swig'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jonathan/gnuradio/gr-uhd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonathan/gnuradio'
make: *** [all] Error 2
Hear from you soon.
Best regards,
Jonathan
- [Discuss-gnuradio] error installing gnuradio+uhd --> gr-uhd/swig,
Jonathan Loo <=