On Sun, Jun 3, 2012 at 6:42 AM, Phil <[email protected]> wrote: > Thank you for reading this. > > I've progressed a little since I last wrote and have received my ezcap USB > dongle. Unfortunately, I'm still having problems. > > Cmake produces the following, which seems to indicate that all is well: > > > -- ###################################################### > -- # gr-osmosdr enabled components > -- ###################################################### > -- * IQ File Source > -- * Osmocom RTLSDR > -- * RTLSDR TCP Client > -- > -- ###################################################### > -- # gr-osmosdr disabled components > -- ###################################################### > -- * sysmocom OsmoSDR > -- * FunCube Dongle > -- * Ettus UHD > -- > -- Building for version: d56e18a1 / 0.0.1git > -- Using install prefix: /usr/local > -- Configuring done > -- Generating done > -- Build files have been written to: /usr/local/src/gr-osmosdr/build > > However, rtl library errors appear during the compiling stage as follows: > > [root@localhost build]# make > Scanning dependencies of target gnuradio-osmosdr > [ 4%] Building CXX object > lib/CMakeFiles/gnuradio-osmosdr.dir/osmosdr_source_c_impl.cc.o > [ 8%] Building CXX object > lib/CMakeFiles/gnuradio-osmosdr.dir/osmosdr_sink_c_impl.cc.o > [ 12%] Building CXX object > lib/CMakeFiles/gnuradio-osmosdr.dir/osmosdr_ranges.cc.o > [ 16%] Building CXX object > lib/CMakeFiles/gnuradio-osmosdr.dir/osmosdr_device.cc.o > [ 20%] Building CXX object > lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o > [ 25%] Building CXX object > lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc: In member function > ‘virtual osmosdr::freq_range_t rtl_source_c::get_freq_range(size_t)’: > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc:342:10: error: use of enum > ‘rtlsdr_tuner’ without previous declaration > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc:342:29: error: invalid > type in declaration before ‘=’ token > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc:342:57: error: > ‘rtlsdr_get_tuner_type’ was not declared in this scope > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc:344:19: error: > ‘RTLSDR_TUNER_E4000’ was not declared in this scope > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc:347:26: error: > ‘RTLSDR_TUNER_FC0012’ was not declared in this scope > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc:349:26: error: > ‘RTLSDR_TUNER_FC0013’ was not declared in this scope > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc:351:26: error: > ‘RTLSDR_TUNER_FC2580’ was not declared in this scope > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc: In member function > ‘virtual osmosdr::gain_range_t rtl_source_c::get_gain_range(size_t)’: > /usr/local/src/gr-osmosdr/lib/rtl/rtl_source_c.cc:405:50: error: > ‘rtlsdr_get_tuner_gains’ was not declared in this scope > make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o] > Error 1 > make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2 > make: *** [all] Error 2 >
I tried to build as well yesterday and failed for me too - as I recall with the same error. I checked out the code again today and it fails too but with a different error, so the code is changing at the moment. You can go back to commit b2128bc86442148d87a7fe897a382c836baf8a67 which compiles fine for me, i.e. git checkout b2128bc Alex _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
