Ubuntu cmake在安装GNU无线电时停止
我正在尝试在我的嵌入式设备中安装GNU收音机(安装了ubuntu 12.04的beagle bone) 按照本手册的说明进行操作后 我被困在“制造”页面 由于我使用的是ARM处理器:Ubuntu cmake在安装GNU无线电时停止,ubuntu,makefile,cmake,arm,gnuradio,Ubuntu,Makefile,Cmake,Arm,Gnuradio,我正在尝试在我的嵌入式设备中安装GNU收音机(安装了ubuntu 12.04的beagle bone) 按照本手册的说明进行操作后 我被困在“制造”页面 由于我使用的是ARM处理器: root@omap:/opt/gnuradio/build# cat /proc/cpuinfo Processor : ARMv7 Processor rev 2 (v7l) BogoMIPS : 274.24 Features : swp half thumb fastmult vfp edsp
root@omap:/opt/gnuradio/build# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 274.24
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : am335xevm
Revision : 0000
Serial : 0000000000000000
我正在做:
# cmake -DCMAKE_CXX_FLAGS:STRING="-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -g" \
-DCMAKE_C_FLAGS:STRING="-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -g" \
/opt/gnuradio
这就是我最后得到的结果:
-- ######################################################
-- # Gnuradio enabled components
-- ######################################################
-- * python-support
-- * testing-support
-- * volk
-- * doxygen
-- * gruel
-- * gnuradio-core
-- * gnuradio-companion
-- * gr-fft
-- * gr-filter
-- * gr-atsc
-- * gr-audio
-- * gr-digital
-- * gr-noaa
-- * gr-pager
-- * gr-qtgui
-- * gr-trellis
-- * gr-utils
-- * gr-video-sdl
-- * gr-vocoder
-- * gr-fcd
-- * gr-wavelet
-- * gr-wxgui
--
-- ######################################################
-- # Gnuradio disabled components
-- ######################################################
-- * sphinx
-- * gr-comedi
-- * gr-uhd
-- * gr-shd
--
-- Using install prefix: /usr/local
-- Building for version: 3.6.2git-117-gf8581fb4 / 3.6.2git
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/gnuradio/build
后来当我做了,它就卡住了
root@omap:/opt/gnuradio/build# make -k
[ 1%] Built target volk
[ 1%] Built target test_all
[ 2%] Built target volk_profile
[ 2%] Built target doxygen_target
[ 3%] Built target gruel
[ 3%] Built target test_gruel
[ 3%] Built target _pmt_swig_doc_tag
[ 3%] Built target _pmt_swig_swig_tag
[ 3%] Built target _pmt_swig
[ 3%] Built target pygen_gruel_src_swig_6bac3
[ 3%] Built target pygen_gruel_src_python_16cbc
[ 4%] Built target pygen_gruel_src_python_319f9
[ 34%] Built target gnuradio-core
[ 34%] Built target gnuradio-config-info
[ 34%] Built target gr_core_rstest
[ 36%] Built target test-gnuradio-core
[ 36%] Built target benchmark_dotprod_ccc
[ 36%] Built target benchmark_dotprod_ccf
[ 36%] Built target benchmark_dotprod_fcc
[ 36%] Built target benchmark_dotprod_fff
[ 36%] Built target benchmark_dotprod_fsf
[ 36%] Built target benchmark_dotprod_scc
[ 36%] Built target benchmark_nco
[ 36%] Built target benchmark_vco
[ 36%] Built target gr_core_test_all
[ 36%] Built target test_filter
[ 36%] Built target test_general
[ 36%] Built target test_runtime
[ 36%] Built target test_vmcircbuf
[ 36%] Built target _filter_swig_doc_tag
[ 36%] Built target _general_swig_doc_tag
[ 36%] Built target _gengen_swig_doc_tag
[ 40%] Built target gengen_generated
[ 40%] Built target filter_generated
[ 40%] Built target _gnuradio_core_filter_swig_tag
[ 41%] Built target _runtime_swig_doc_tag
[ 42%] Built target _gnuradio_core_filter
[ 42%] Built target _gnuradio_core_general_swig_tag
[ 42%] Building CXX object gnuradio-core/src/lib/swig/CMakeFiles
/_gnuradio_core_general.dir/gnuradio_core_generalPYTHON_wrap.cxx.o
在这个地方,ram完全用完了(256 MB DDR2 ram)。我甚至不得不进行256 MB的linux交换,以避免“虚拟内存耗尽”错误
谁能告诉我这里发生了什么,我如何解决这个问题
ps:有人在小猎犬的骨头上安装GNU无线电吗
提前谢谢
Sanatan您是否尝试过在不使用
-k
选项的情况下制作make
这是一个众所周知的问题。嵌入式设备上没有足够的RAM来实际构建GNURadio。GCC实际上正在耗尽内存空间,并且正在消亡。你的虚拟内存空间有帮助,但Swig是个怪兽
您有几个选择: