Error building gnuradio on USRP E100

In response to Josh’s announcement I have grabbed the latest git of UHD
and GNURADIO and tried to build it on my E100. I followed the
instructions from the usrpe1xx-FAQ.

UHD built and installed okay but GNURADIO fails with the following
errors:

Is this a case of the UHD from git://ettus.sourcerepo.com/ettus/uhd.git
not actually being the correct version for the gnuradio from
git://gnuradio.org/gnuradio.git ?

Suggestions appreciated, especially since rebuilding takes most of the
evening!

Cheers,
Ingmar

python/uhd_swig.cc: In function ‘PyObject*
_wrap_dboard_iface_write_gpio(PyObject*, PyObject*, PyObject*)’:
python/uhd_swig.cc:18281:15: error: ‘class uhd::usrp::dboard_iface’ has
no member named ‘write_gpio’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_dboard_iface_sptr_write_gpio(PyObject*, PyObject*, PyObject*)’:
python/uhd_swig.cc:19732:16: error: ‘class uhd::usrp::dboard_iface’ has
no member named ‘write_gpio’
python/uhd_swig.cc: In function ‘PyObject*
_wrap_uhd_usrp_source_sptr_get_freq_range(PyObject*, PyObject*,
PyObject*)’:
python/uhd_swig.cc:20891:26: error: ‘uhd::meta_range_t’ is not a
template
python/uhd_swig.cc: In function ‘PyObject*
_wrap_uhd_usrp_source_sptr_get_gain_range(PyObject*, PyObject*,
PyObject*)’:
python/uhd_swig.cc:21040:26: error: ‘uhd::meta_range_t’ is not a
template
python/uhd_swig.cc: In function ‘PyObject*
_wrap_uhd_usrp_sink_sptr_get_freq_range(PyObject*, PyObject*,
PyObject*)’:
python/uhd_swig.cc:23150:26: error: ‘uhd::meta_range_t’ is not a
template
python/uhd_swig.cc: In function ‘PyObject*
_wrap_uhd_usrp_sink_sptr_get_gain_range(PyObject*, PyObject*,
PyObject*)’:
python/uhd_swig.cc:23299:26: error: ‘uhd::meta_range_t’ is not a
template
python/uhd_swig.cc: In function ‘void init_uhd_swig()’:
python/uhd_swig.cc:26457:89: error: ‘REF_MIMO’ is not a member of
‘uhd::clock_config_t’
python/uhd_swig.cc:26460:89: error: ‘PPS_MIMO’ is not a member of
‘uhd::clock_config_t’
make[5]: *** [_uhd_swig_la-uhd_swig.lo] Error 1
make[5]: Leaving directory /media/sda7/gnuradio/gnuradio/gr-uhd/swig' make[4]: *** [all] Error 2 make[4]: Leaving directory/media/sda7/gnuradio/gnuradio/gr-uhd/swig’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory /media/sda7/gnuradio/gnuradio/gr-uhd' make[2]: *** [all] Error 2 make[2]: Leaving directory/media/sda7/gnuradio/gnuradio/gr-uhd’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/sda7/gnuradio/gnuradio’
make: *** [all] Error 2
[email protected]:/media/sda7/gnuradio/gnuradio#

Pays to pay attention doesn’t it… I forgot to run the opkg remove
commands first.

This removed the problem below but still left the make crashing when
trying to find /usr/include/uhd/config.hpp
I fixed this by copying this file and the other directories from my uhd
(git) directory.

Weird but it works.

On 03/21/2011 03:42 AM, Ingmar M. wrote:

Pays to pay attention doesn’t it… I forgot to run the opkg remove
commands first.

This removed the problem below but still left the make crashing when
trying to find /usr/include/uhd/config.hpp

If you build uhd or gnuradio from source, the files go into /usr/local,
but from opkg, the files go into /usr. That may be the source of
confusion. Perhaps “opkg remove” left behind some old headers or pc
files?

_josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs