我想在我的嵌入式設備(安裝ubuntu 12.04的beagle骨)中安裝GNU Radio。cmake暫停安裝GNU RADIO
按照從這個Gnuradio install instructions 頁面的指示後,我被困在「MAKE」。
由於我使用的ARM處理器:
[email protected]:/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
後來當我這樣做讓它卡住..
[email protected]:/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:有沒有人在beagle-bone上安裝GNU無線電?
在此先感謝
Sanatan