Hi All i am installing GNU Radio on Linux 16.04, but it's not installing by saying this file requires compiler and library support for ISO 2011 standard. This can be done by issuing -std=c++11 or -std=gnu++11 when one has to run single file. But here the build process is automated. I would be grateful if you can look into the following prompt response and guide what could be the possible solution. I have already installed GNU Radio on different machine running 16.04, but I am surprise to see the error when installing on another machine and despite repeating the very same steps.
The as it as prompt response is: root@pezp63763:/home/eexmmlo# pybombs prefix init -a default prefix/default/ -R gnuradio-default PyBOMBS - INFO - PyBOMBS Version 2.3.2 PyBOMBS.prefix - WARNING - There already is a prefix in `/home/eexmmlo/prefix/default'. Continue using this path Y/[N]? y Alias `default' already exists, overwrite Y/[N]? y PyBOMBS.prefix - INFO - Installing default packages for prefix... PyBOMBS.prefix - INFO - - gnuradio PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages: Install tree: | \- gnuradio PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix: PyBOMBS.install_manager - INFO - Installing package: gnuradio PyBOMBS.Packager.source - WARNING - Build dir already exists: /home/eexmmlo/prefix/default/src/gnuradio/build Building: (100%) [=================================================================================================================] [ 4%] Built target volk_obj [ 4%] Built target volk [ 4%] Built target volk_test_all [ 4%] Built target volk_profile [ 5%] Built target volk-config-info [ 6%] Built target pygen_volk_python_volk_modtool_34493 [ 6%] Built target pygen_volk_python_volk_modtool_04eb6 [ 7%] Built target pmt_generated [ 7%] Built target gnuradio-pmt [ 10%] Built target gnuradio-runtime [ 11%] Built target test-gnuradio-runtime [ 11%] Built target gr_runtime_test [ 11%] Built target test-gnuradio-pmt [ 11%] Built target gr_pmt_test [ 11%] Built target gnuradio-config-info [ 11%] Built target pmt_swig_swig_doc [ 11%] Built target _pmt_swig_swig_tag [ 11%] Built target pmt_swig_gnuradio_runtime_swig_7dd5e [ 11%] Built target _pmt_swig [ 11%] Built target runtime_swig_swig_doc [ 11%] Built target pmt_swig [ 11%] Built target _runtime_swig_swig_tag [ 11%] Built target runtime_swig_gnuradio_runtime_swig_7dd5e [ 11%] Built target _runtime_swig [ 11%] Built target pygen_gnuradio_runtime_swig_bc893 [ 12%] Built target pygen_gnuradio_runtime_swig_c7096 [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_0cff0 [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_gr_c39fa [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_gru_e77e9 [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_20832 [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_c0e39 [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_2dcdd [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_a87ad [ 13%] Built target pygen_gnuradio_runtime_python_pmt_5fb7b [ 13%] Built target pygen_gnuradio_runtime_examples_mp_sched_be1cd [ 13%] Built target pygen_gnuradio_runtime_examples_network_14cb6 [ 13%] Built target pygen_gnuradio_runtime_examples_volk_benchmark_0f7b0 [ 14%] Built target blocks_generated_includes [ 14%] Building CXX object gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/float_array_to_int.cc.o In file included from /usr/include/c++/5/cstdint:35:0, from /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:30: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:32:14: error: ‘int64_t’ does not name a type static const int64_t MAX_INT = INT32_MAX; ^ /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:33:14: error: ‘int64_t’ does not name a type static const int64_t MIN_INT = INT32_MIN; ^ /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc: In function ‘void float_array_to_int(const float*, int*, float, int)’: /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:39:5: error: ‘int64_t’ was not declared in this scope int64_t r = llrintf(scale * in[i]); ^ /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:40:9: error: ‘r’ was not declared in this scope if (r < MIN_INT) ^ /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:40:13: error: ‘MIN_INT’ was not declared in this scope if (r < MIN_INT) ^ /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:42:18: error: ‘MAX_INT’ was not declared in this scope else if (r > MAX_INT) ^ /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:44:31: error: ‘r’ was not declared in this scope out[i] = static_cast<int>(r); ^ gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/build.make:4635: recipe for target 'gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/float_array_to_int.cc.o' failed make[2]: *** [gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/float_array_to_int.cc.o] Error 1 CMakeFiles/Makefile2:2171: recipe for target 'gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/all' failed make[1]: *** [gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 PyBOMBS.Packager.source - ERROR - Build failed. See output above for error messages. PyBOMBS.Packager.source - ERROR - Problem occurred while building package gnuradio: Build failed. PyBOMBS.install_manager - ERROR - Error installing package gnuradio. Aborting. Regards, Mir Lodro
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio