Re: [gqrx] Kali LInux build failure

528 views
Skip to first unread message

Alexandru Csete

unread,
Feb 6, 2014, 7:33:30 PM2/6/14
to gq...@googlegroups.com
You have probably installed version 3.7 of gnuradio without completely
removing 3.6 first and now you have two conflicting versions. From the
error it appears that you have at least and old version of libvolk
lying around somewhere. Search the list archives if you need more info
- this issue has been discussed numerous time during the last few
months.

Alex

On Fri, Feb 7, 2014 at 1:21 AM, <ksa...@sbcglobal.net> wrote:
> Hi,
>
> I was able to get gnuradio built and installed on a kali linux laptop.
> When I built gqrx I get the following error codes in reference to some volk
> files. Any ideas? What's undefined reference? Kurt KC9LDH
>
> /usr/bin/rcc -name icons icons.qrc -o qrc_icons.cpp
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG
> -DQT_NO_DEBUG_OUTPUT -DVERSION="\"2.2\"" -DWITH_PULSEAUDIO -D_REENTRANT
> -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4
> -I/usr/local/include -I. -I. -o qrc_icons.o qrc_icons.cpp
> g++ -Wl,-O1 -o gqrx main.o mainwindow.o receiver.o cafsk12.o costabf.o
> agc_impl.o correct_iq_cc.o lpf.o resampler_xx.o rx_demod_am.o rx_demod_fm.o
> rx_fft.o rx_filter.o rx_meter.o rx_agc_xx.o rx_noise_blanker_cc.o
> sniffer_f.o stereo_demod.o afsk1200win.o agc_options.o audio_options.o
> demod_options.o dockinputctl.o dockaudio.o dockfft.o dockiqplayer.o
> dockrxopt.o freqctrl.o ioconfig.o meter.o nb_options.o plotter.o
> qtcolorpicker.o nbrx.o receiver_base.o wfmrx.o pa_device_list.o pa_sink.o
> pa_source.o moc_mainwindow.o moc_cafsk12.o moc_afsk1200win.o
> moc_agc_options.o moc_audio_options.o moc_demod_options.o moc_dockaudio.o
> moc_dockfft.o moc_dockinputctl.o moc_dockiqplayer.o moc_dockrxopt.o
> moc_freqctrl.o moc_ioconfig.o moc_meter.o moc_nb_options.o moc_plotter.o
> moc_qtcolorpicker.o qrc_icons.o -L/usr/lib/i386-linux-gnu -lboost_system
> -lboost_program_options -lrt -lpulse-simple -lpulse -L/usr/local/lib
> -lgnuradio-analog -lgnuradio-filter -lgnuradio-fft -lgnuradio-osmosdr
> -lgnuradio-blocks -lgnuradio-runtime -lgnuradio-pmt -lQtSvg -lQtGui -lQtCore
> -lpthread
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_32f_s32f_convert_8i'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_32fc_deinterleave_32f_x2'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_32fc_deinterleave_imag_32f'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_32fc_magnitude_squared_32f'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_32i_s32f_convert_32f'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_8i_convert_16i'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_16i_s32f_convert_32f'
> /usr/local/lib/libgnuradio-analog.so: undefined reference to
> `volk_32f_invsqrt_32f_a'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_32f_s32f_convert_16i'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_16i_convert_8i'
> /usr/local/lib/libgnuradio-blocks.so: undefined reference to
> `volk_32fc_deinterleave_real_32f'
> /usr/local/lib/libgnuradio-analog.so: undefined reference to
> `volk_32fc_magnitude_32f'
> /usr/local/lib/libgnuradio-analog.so: undefined reference to
> `volk_32fc_x2_multiply_conjugate_32fc'
> collect2: error: ld returned 1 exit status
> make: *** [gqrx] Error 1
>
> --
> You received this message because you are subscribed to the Google Groups
> "Gqrx SDR" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gqrx+uns...@googlegroups.com.
> To post to this group, send email to gq...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gqrx/79f557b7-e6f7-4e20-b21a-184081360d16%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

ksa...@sbcglobal.net

unread,
Feb 6, 2014, 8:25:25 PM2/6/14
to gq...@googlegroups.com
Aiiieeeeeee!!,

  Kali comes with the funcube stuff already built.  I gotta unload it and the "old" gnuradio and start over.
  Thanks for pointing me in the right direction Alex.

                                               Kurt KC9LDH

Kurt

unread,
Feb 7, 2014, 12:37:33 PM2/7/14
to gq...@googlegroups.com
That was it.  With Kali one needs to go to add/remove software and remove gnuradio and the qthid stuff for the funcube dongle.
Gqrx then built perfectly after that.  Another thing is I had build gnuradio with the script previously and it remained untouched so
everything works now.
 
                                                            Kurt KC9LDH

--
You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gqrx+uns...@googlegroups.com.
To post to this group, send email to gq...@googlegroups.com.

Pawel Janowski

unread,
Feb 18, 2014, 3:40:21 PM2/18/14
to gq...@googlegroups.com, Kurt
try this 

sudo apt-get install git qtcreator autoconf automake cmake build-essential libboost-all-dev libfftw3-dev libcppunit-dev python swig python-numpy doxygen python-cheetah python-gtk2-dev libgsl0-dev qt-sdk libqwt-dev python-qt4-dev python-qwt5-qt4 jackd qjackctl libsdl1.2-dev liblog4cpp5-dev phonon-backend-gstreamer phonon-backend-vlc libusb-1.0-0-dev libtecla1-dev python-wxgtk2.8 wx2.8-headers libjack-jackd2-dev paprefs


cd ~/
cd gnuradio
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

cd ~/
git clone git://git.osmocom.org/rtl-sdr
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig

cd ~/
cd bladeRF/host
mkdir build
cd build/
cmake ../
sudo make
sudo make install
sudo ldconfig

cd ~/
git clone git://git.osmocom.org/osmo-sdr
cd osmo-sdr/software/libosmosdr
cmake .
make
cd src
sudo make install
sudo ldconfig

cd ~/
cd gr-osmosdr
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig

cd ~/
cd gqrx
qmake-qt4 
make
sudo make install
sudo ldconfig
Reply all
Reply to author
Forward
0 new messages