ask for help : gr-osmosdr build failed

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

kainwen kainwen at gmail.com
Mon Mar 11 14:36:20 UTC 2013


Dear All,
       Thanks for reading my mail.
       when I do the last steps, I failed, I don't know why.

git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/
mkdir build
cd build/
cmake ../
make
sudo make install
sudo ldconfig

       I failed when I " make ".

       the make error is :
/tmp/gr-osmosdr/lib/osmosdr_source_c_impl.cc: In constructor 
'osmosdr_source_c_impl::osmosdr_source_c_impl(const string&)':
/tmp/gr-osmosdr/lib/osmosdr_source_c_impl.cc:117:16: error: 
'GR_OSMOSDR_VERSION' was not declared in this scope
/tmp/gr-osmosdr/lib/osmosdr_source_c_impl.cc:117:47: error: 
'GR_OSMOSDR_LIBVER' was not declared in this scope
make[2]: *** 
[lib/CMakeFiles/gnuradio-osmosdr.dir/osmosdr_source_c_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2
the cmake output is :
       -- Build type not specified: defaulting to release.
-- Extracting version information from git describe...
-- Configuring Boost C++ Libraries...
-- checking for module 'gnuradio-iqbalance'
--   package 'gnuradio-iqbalance' not found
-- Found gnuradio-uhd: /usr/local/include, /usr/local/lib/libgnuradio-uhd.so
-- Found gnuradio-fcd: /usr/local/include, /usr/local/lib/libgnuradio-fcd.so
-- Will build with gnuradio iqbalance support.
-- 
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
-- 
-- Configuring sysmocom OsmoSDR support...
--   Dependency LIBOSMOSDR_FOUND = TRUE
--   Enabling sysmocom OsmoSDR support.
--   Override with -DENABLE_OSMOSDR=ON/OFF
-- 
-- Configuring FunCube Dongle support...
--   Dependency GNURADIO_FCD_FOUND = TRUE
--   Enabling FunCube Dongle support.
--   Override with -DENABLE_FCD=ON/OFF
-- 
-- Configuring IQ File Source support...
--   Dependency GNURADIO_CORE_FOUND = TRUE
--   Enabling IQ File Source support.
--   Override with -DENABLE_FILE=ON/OFF
-- 
-- Configuring Osmocom RTLSDR support...
--   Dependency LIBRTLSDR_FOUND = TRUE
--   Enabling Osmocom RTLSDR support.
--   Override with -DENABLE_RTL=ON/OFF
-- 
-- Configuring RTLSDR TCP Client support...
--   Dependency GNURADIO_CORE_FOUND = TRUE
--   Enabling RTLSDR TCP Client support.
--   Override with -DENABLE_RTL_TCP=ON/OFF
-- 
-- Configuring Ettus UHD support...
--   Dependency UHD_FOUND = TRUE
--   Dependency GNURADIO_UHD_FOUND = TRUE
--   Enabling Ettus UHD support.
--   Override with -DENABLE_UHD=ON/OFF
-- 
-- Configuring Osmocom MiriSDR support...
--   Dependency LIBMIRISDR_FOUND = TRUE
--   Enabling Osmocom MiriSDR support.
--   Override with -DENABLE_MIRI=ON/OFF
-- 
-- ######################################################
-- # gr-osmosdr enabled components
-- ######################################################
--   * sysmocom OsmoSDR
--   * FunCube Dongle
--   * IQ File Source
--   * Osmocom RTLSDR
--   * RTLSDR TCP Client
--   * Ettus UHD
--   * Osmocom MiriSDR
-- 
-- ######################################################
-- # gr-osmosdr disabled components
-- ######################################################
-- 
-- Building for version: 1eb3af22 / 0.0.1git
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/gr-osmosdr/build
*
*


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20130311/72b2d85b/attachment.htm>


More information about the osmocom-sdr mailing list