GNU Radio构建错误"没有规则来制作目标" filter_generated_includes',需要' docs / doxygen / xml

时间:2014-07-22 22:15:44

标签: gnuradio

我正在运行CentOs 6.5 i686并尝试安装GNU Radio。我制作了一个构建目录并执行了#34; sudo cmake ../"结果如下:

######################################################
-- # Gnuradio enabled components                         
-- ######################################################
--   * python-support
--   * testing-support
--   * volk
--   * doxygen
--   * sphinx
--   * gnuradio-runtime
--   * gr-blocks
--   * gnuradio-companion
--   * gr-fec
--   * gr-fft
--   * gr-filter
--   * gr-analog
--   * gr-digital
--   * gr-atsc
--   * gr-audio
--   * gr-channels
--   * gr-noaa
--   * gr-pager
--   * gr-qtgui
--   * gr-uhd
--   * gr-utils
--   * gr-vocoder
--   * gr-fcd
--   * gr-wavelet
--   * gr-wxgui
-- 
-- ######################################################
-- # Gnuradio disabled components                        
-- ######################################################
--   * gr-ctrlport
--   * gr-comedi
--   * gr-trellis
--   * gr-video-sdl
--   * gr-zeromq
-- 
-- Using install prefix: /usr/local
-- Building for version: 3.7.4 / 3.7.4
-- Configuring done

警告:源文件" /usr/local/gnuradio/gnuradio-3.7.4/gr-digital/lib/header_payload_demux_impl.cc"被列出多次目标" gnuradio-digital"。 - 生成完成 - 构建文件已写入:/usr/local/gnuradio/gnuradio-3.7.4/build

然后我执行了" sudo make"导致以下错误:

[alinux build]$ sudo ldconfig
[alinux build]$ sudo make
Scanning dependencies of target volk
[  0%] Building C object volk/lib/CMakeFiles/volk.dir/constants.c.o
Linking C shared library libvolk.so
[  2%] Built target volk
Linking CXX executable test_all
[  2%] Built target test_all
Linking CXX executable volk-config-info
[  2%] Built target volk-config-info
Linking CXX executable volk_profile
[  2%] Built target volk_profile
[  2%] Built target pygen_python_volk_modtool_42925
[  2%] Built target pygen_python_volk_modtool_fe100
[  2%] Built target digital_generated_includes
[  2%] Built target pmt_generated
[  3%] Built target blocks_generated_includes
[  3%] Built target filter_generated_includes
[  3%] Built target analog_generated_includes
make[2]: *** No rule to make target `filter_generated_includes', needed by `docs/doxygen/xml'.  Stop.
make[1]: *** [docs/doxygen/CMakeFiles/doxygen_target.dir/all] Error 2
make: *** [all] Error 2
[alinux build]$ 

我已经建立了doxygen并且它在我的道路上,我不知道还有什么可能是错的? 任何帮助表示赞赏!

1 个答案:

答案 0 :(得分:1)

关于dublette文件的警告听起来像CMake初始化运行出错了。通常,通过清除构建目录并再次运行cmake,这些错误就会消失。

此外,从不使用sudo运行cmake,因为它没有必要,并且可能会破坏事物。您只有在安装时才需要root权限,并且只有在您正常用户无法放置文件的地方安装时才需要root权限。正常的工作流程是

#in GNU Radio source tree root folde
mkdir build
cd build
cmake ..
make -j3
sudo make install