discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gnuradio compiles no more on my computer, cannot


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] gnuradio compiles no more on my computer, cannot figure out why
Date: Wed, 6 Jan 2016 13:37:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi Yann,

this looks familiar; there was someone else with pretty exactly the same
problem, and the underlying complication was that there were two
installations of UHD header files.
Make sure only one UHD is installed, and try again.

Best regards,
Marcus

On 06.01.2016 12:50, Lecoq Yann wrote:
> Hello and a happy new year to all,
>
> I used to compile gnuradio and uhd from git repos on a ubuntu 14.04 computer 
> and, for whatever reason, the gnuradio compilation don't work anymore. There 
> must be something I modified in the config that triggered that, but I can't 
> figure out what (I started wanting to to recompile in order to activate 
> comedi after installing the libcomedi-dev package, but wether this one is 
> installed or nt dosnt help).
>
> Typically I do a uhd cmake, make -j8, sudo make install and sudo ldconfig 
> (which all look like they still work fine), and, then, a gnuradio cmake, make 
> -j8, sudo make install and sudo ldconfig. Now, the gnuradio make stops with 
> an error which looks related to the gr-uhd/swig component (see the console 
> output at the end of this message). 
>
> To be sure, I used git to compile different combination of commits for both 
> uhd and gnuradio, including at least 1 uhd+gnuradio commit combination which 
> I am absolutely certain works on another similar computer, but it didn't 
> help. I also tried removing entirely the source code in my ~/src directory 
> and restarting from scrach (after some apt-get autoremove, update and 
> upgrade) with M. Leech's "build_gnuradio" script, but this failed as well at 
> the same point. Note that the check of prerequisites at the beginning of the 
> script doesn't report anything missing though (except a usual libzmq1 issue 
> which has never been a problem) (see end of message).
>
> Any help is greatly appreciated, as I am running out of ideas to check at 
> this point...
>
> Best wishes,
>
> -Yann
>
>
>
> *** CONSOLE OUTPUT NEAR GNURADIO MAKING ERROR ***
> Scanning dependencies of target _wxgui_swig
> [ 57%] Building CXX object 
> gr-wxgui/swig/CMakeFiles/_wxgui_swig.dir/wxgui_swigPYTHON_wrap.cxx.o
> [ 57%] Built target pygen_gr_wavelet_swig_57e27
> [ 57%] Building CXX object 
> gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/file_sink_impl.cc.o
> [ 57%] Building CXX object 
> gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/file_source_impl.cc.o
> /home/zbook_user/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In 
> function ‘void init_uhd_swig()’:
> /home/zbook_user/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46579:91:
>  error: ‘ATR_REG_IDLE’ is not a member of ‘uhd::usrp::dboard_iface’
>    SWIG_Python_SetConstant(d, 
> "dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int 
> >(uhd::usrp::dboard_iface::ATR_REG_IDLE)));
>                                                                               
>              ^
> /home/zbook_user/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46580:94:
>  error: ‘ATR_REG_TX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
>    SWIG_Python_SetConstant(d, 
> "dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int 
> >(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));
>                                                                               
>                 ^
> /home/zbook_user/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46581:94:
>  error: ‘ATR_REG_RX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
>    SWIG_Python_SetConstant(d, 
> "dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int 
> >(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));
>                                                                               
>                 ^
> /home/zbook_user/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46582:98:
>  error: ‘ATR_REG_FULL_DUPLEX’ is not a member of ‘uhd::usrp::dboard_iface’
>    SWIG_Python_SetConstant(d, 
> "dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int 
> >(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));
>                                                                               
>                     ^
> [ 57%] Building CXX object 
> gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/file_meta_sink_impl.cc.o
> make[2]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] 
> Erreur 1
> make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Erreur 2
>
>
>
> *** CONSOLE OUTPUT FOR BUILD-GNURADIO PREREQS SCRIPT
> Installing prerequisites.
> ====> THIS MAY TAKE QUITE SOME TIME <=====
> Checking for package libfontconfig1-dev
> Checking for package libxrender-dev
> Checking for package libpulse-dev
> Checking for package swig
> Checking for package g++
> Checking for package automake
> Checking for package autoconf
> Checking for package libtool
> Checking for package python-dev
> Checking for package libfftw3-dev
> Checking for package libcppunit-dev
> Checking for package libboost-all-dev
> Checking for package libusb-dev
> Checking for package libusb-1.0-0-dev
> Checking for package fort77
> Checking for package libsdl1.2-dev
> Checking for package python-wxgtk2.8
> Checking for package git-core
> Checking for package libqt4-dev
> Checking for package python-numpy
> Checking for package ccache
> Checking for package python-opengl
> Checking for package libgsl0-dev
> Checking for package python-cheetah
> Checking for package python-mako
> Checking for package python-lxml
> Checking for package doxygen
> Checking for package qt4-default
> Checking for package qt4-dev-tools
> Checking for package libusb-1.0-0-dev
> Checking for package libqwt5-qt4-dev
> Checking for package libqwtplot3d-qt4-dev
> Checking for package pyqt4-dev-tools
> Checking for package python-qwt5-qt4
> Checking for package cmake
> Checking for package git-core
> Checking for package wget
> Checking for package libxi-dev
> Checking for package python-docutils
> Checking for package gtk2-engines-pixbuf
> Checking for package r-base-dev
> Checking for package python-tk
> Checking for package liborc-0.4-0
> Checking for package liborc-0.4-dev
> Checking for package libasound2-dev
> Checking for package python-gtk2
> Checking for package libzmq1
> Checking for package libzmq1-dev
> Failed to find package 'libzmq1-dev' in known package repositories
> SOME THINGS MAY NOT BUILD AS A RESULT
> Checking for package libzmq
> Checking for package libzmq-dev
> Checking for package python-requests
> Done checking packages
> Checking for library libusb ...Found library libusb
> Checking for library libboost ...Found library libboost
> Checking for library libcppunit ...Found library libcppunit
> Checking for library libfftw ...Found library libfftw
> Checking for library libgsl ...Found library libgsl
> Done
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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