discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Run problems with latest UHD build


From: john
Subject: Re: [Discuss-gnuradio] Run problems with latest UHD build
Date: Mon, 24 Jan 2011 11:50:26 +1300

On Sun, 2011-01-23 at 11:43 +0100, Alexandru Csete wrote:
> On Sun, Jan 23, 2011 at 8:11 AM, john <address@hidden> wrote:
> > Ubuntu 10.4
> >
> >
> > I (intended) to pull over the latest GIT and did the usual procedure
> > which has worked before i.e.
> >
> > cmake ../
> > make
> > make test
> > sudo make install
> >
> > however, when I run the GNURadio Companion as before, I now get:
> >
> > Traceback (most recent call last):
> >  File "/home/john/lsb_tx_bpf.py", line 14, in <module>
> >    from gnuradio import uhd
> >  File
> > "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/__init__.py", line
> > 27, in <module>
> >    from uhd_swig import *
> >  File
> > "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py", line
> > 6, in <module>
> >    import _uhd_swig
> > ImportError: 
> > /usr/local/lib/python2.6/dist-packages/gnuradio/uhd/_uhd_swig.so: undefined 
> > symbol: _ZNK3uhd12meta_range_tIfE4clipERKfb
> >
> > I am sure that the error is all mine but would appreciate someone
> > pointing out where I am going wrong?
> >
> 
> Hi John,
> 
> There have been some API changes in the latest UHD announcement so you
> have to rebuild GNU Radio with the new UHD libs (make clean, make,
> sudo make install).
> 
> Alex

Thanks Alex for the pointer. I have recreated UHD and find_devices
works. When I try GNURadio rebuild, after a lot of (seemingly)
successful operations, I get:

make[4]: Entering directory `/home/john/gnuradio/gr-uhd/swig'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../..   -I/home/john/gnuradio/gnuradio-core/src/lib/runtime
-I/home/john/gnuradio/gnuradio-core/src/lib/general
-I/home/john/gnuradio/gnuradio-core/src/lib/general
-I/home/john/gnuradio/gnuradio-core/src/lib/gengen
-I/home/john/gnuradio/gnuradio-core/src/lib/gengen
-I/home/john/gnuradio/gnuradio-core/src/lib/filter
-I/home/john/gnuradio/gnuradio-core/src/lib/filter
-I/home/john/gnuradio/gnuradio-core/src/lib/missing
-I/home/john/gnuradio/gnuradio-core/src/lib/reed-solomon
-I/home/john/gnuradio/gnuradio-core/src/lib/viterbi
-I/home/john/gnuradio/gnuradio-core/src/lib/io
-I/home/john/gnuradio/gnuradio-core/src/lib/g72x
-I/home/john/gnuradio/gnuradio-core/src/lib/swig
-I/home/john/gnuradio/gnuradio-core/src/lib/hier
-I/home/john/gnuradio/gnuradio-core/src/lib/swig
-I/home/john/gnuradio/gruel/src/include
-I/home/john/gnuradio/gruel/src/include
-I/home/john/gnuradio/volk/include -I/usr/include
-I/usr/include/python2.6 -I/usr/local/include
-I/home/john/gnuradio/gr-uhd/lib   -g -O1 -Wno-strict-aliasing
-Wno-parentheses  -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 'uhd_swig.cc' || echo './'`uhd_swig.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../..
-I/home/john/gnuradio/gnuradio-core/src/lib/runtime
-I/home/john/gnuradio/gnuradio-core/src/lib/general
-I/home/john/gnuradio/gnuradio-core/src/lib/general
-I/home/john/gnuradio/gnuradio-core/src/lib/gengen
-I/home/john/gnuradio/gnuradio-core/src/lib/gengen
-I/home/john/gnuradio/gnuradio-core/src/lib/filter
-I/home/john/gnuradio/gnuradio-core/src/lib/filter
-I/home/john/gnuradio/gnuradio-core/src/lib/missing
-I/home/john/gnuradio/gnuradio-core/src/lib/reed-solomon
-I/home/john/gnuradio/gnuradio-core/src/lib/viterbi
-I/home/john/gnuradio/gnuradio-core/src/lib/io
-I/home/john/gnuradio/gnuradio-core/src/lib/g72x
-I/home/john/gnuradio/gnuradio-core/src/lib/swig
-I/home/john/gnuradio/gnuradio-core/src/lib/hier
-I/home/john/gnuradio/gnuradio-core/src/lib/swig
-I/home/john/gnuradio/gruel/src/include
-I/home/john/gnuradio/gruel/src/include
-I/home/john/gnuradio/volk/include -I/usr/include
-I/usr/include/python2.6 -I/usr/local/include
-I/home/john/gnuradio/gr-uhd/lib -g -O1 -Wno-strict-aliasing
-Wno-parentheses -pthread -MT _uhd_swig_la-uhd_swig.lo -MD -MP
-MF .deps/_uhd_swig_la-uhd_swig.Tpo -c uhd_swig.cc  -fPIC -DPIC
-o .libs/_uhd_swig_la-uhd_swig.o
uhd_swig.cc:4278: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4286: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4286: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4294: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4297: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4300: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4300: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4303: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4303: error: ‘uhd::range_t’ is not a template
uhd_swig.cc: In function ‘uhd::range_t
std_vector_Sl_uhd_range_t_Sl_float_Sg__Sg__pop(std::vector<uhd::range_t,
std::allocator<uhd::range_t> >*)’:
uhd_swig.cc:4306: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4306: error: ‘uhd::range_t’ is not a template
uhd_swig.cc: At global scope:
uhd_swig.cc:4310: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4310: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4310: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4310: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4310: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4313: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4313: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4313: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4313: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4313: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4316: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4316: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4316: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4319: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4319: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4322: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4322: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4322: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4325: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4325: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4325: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4328: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4328: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4333: error: ‘uhd::range_t’ is not a template
uhd_swig.cc:4333: error: redefinition of ‘struct
swig::traits<uhd::range_t>’
uhd_swig.cc:4278: error: previous definition of ‘struct
swig::traits<uhd::range_t>’

Do you have any further advice, Alex?

    Kind Regards,

               John






reply via email to

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