0

我从源代码安装了 gnuradio(3.7.9.2),没关系,并从源代码安装了rtl-sdrgr-osmosdr。rtl-sdr 没问题。当我运行cmake ../for gr-osmosdr 时,它的输出如下:

-- ######################################################
-- # Gnuradio enabled components                         
-- ######################################################
--   * Python support
--   * Osmocom IQ Imbalance Correction
--   * FUNcube Dongle Pro+
--   * IQ File Source & Sink
--   * Osmocom RTLSDR
--   * RTLSDR TCP Client
--   * Ettus USRP Devices
--   * RFSPACE Receivers
--   * Red Pitaya SDR
-- 
-- ######################################################
-- # Gnuradio disabled components                        
-- ######################################################
--   * sysmocom OsmoSDR
--   * FUNcube Dongle
--   * Osmocom MiriSDR
--   * HackRF & rad1o Badge
--   * nuand bladeRF
--   * AIRSPY Receiver
--   * SoapySDR support
-- 
-- Building for version: v0.1.4-72-g164a09fc / 0.1.5git
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wrsadmin/gr-osmosdr/builddir

我运行那些:

make
sudo make install

一切都好。当我gnuradio-companion在 CLI 中运行时,它会输出:

Warning: restarting the docstring loader (crashed while loading 'osmosdr_sink')
Warning: restarting the docstring loader (crashed while loading 'osmosdr_source')
Warning: restarting the docstring loader (crashed while loading 'rtlsdr_source')

当我将 RTL-SDR 源拖到流程图时,它会输出:

Segmentation fault (core dumped)

并退出。

为什么 gr-osmosdr 破坏了 gnuradio-companion?

4

2 回答 2

0

我有这个问题,因为我几个小时前更新了。我发现,虽然没有解决,但我的 OOM 块是使用 python3.5 安装的,但 gnuradio-companion 无法加载它们,因为它在 python2.7 下运行(即“python2”的符号链接)。

dennisg@Tori-Radio:~/gr-acars-pen/lib$ python2.7 Python 2.7.11+(默认,2016 年 4 月 17 日,14:00:29)[GCC 5.3.1 20160413] 在 linux2 上输入“帮助” 、“版权”、“学分”或“许可”以获取更多信息。

导入 acars 分段错误(核心转储)

dennisg@Tori-Radio:~/gr-acars-pen/lib$ python3.5 Python 3.5.1+(默认,2016 年 3 月 30 日,22:46:26)[GCC 5.3.1 20160330] 在 Linux 上键入“帮助” 、“版权”、“学分”或“许可”以获取更多信息。

导入 acars Traceback(最近一次调用最后一次):文件“”,第 1 行,在文件“/usr/local/lib/python2.7/dist-packages/acars/init .py ”中,第 34 行,从 IntruderPy 导入 IntruderPy ImportError:没有名为“IntruderPy”的模块

于 2016-06-30T04:45:59.983 回答
0

谢谢,马库斯,我git reset --hard b7da9af4f229a213a225318656734e22dc068b02为我的 gnuradio 爱上了它,提交说“完成 v3.7.9.2 的发行说明”

于 2016-05-25T05:37:03.713 回答