Hi Al - I can't speak to PyBOMBS specifically, but the error message shows that GMP or MPIR isn't working correctly: "/usr/include/gmpxx.h" should "#include" the file "/usr/include/gmp.h", which should contain the function "mpf_cmp_z" ... just checked my system & this is indeed the case. Maybe somehow the header "/usr/include/gmp.h" didn't get installed & you could do that manually? Hope this is useful! - MLD
On Thu, Aug 15, 2019, at 7:05 AM, LiverPudd wrote: > Hi All > > I cannot get gnuradio 3.8 to install. > > I have installed a clean copy of Ubuntu Mate 18.04 and pybombs on my machine > and installed all the pre-requisites required for gnuradio. > > What I have done thus far is; > > 1) Modify gnuradio-default.lwr to point to gnuradio38(.lwr) > 2) Modify gnuradio38.lwr to include -DENABLE_CTRLPORT_THRIFT=OFF in the > config_opt line > 3) Run "pybombs prefix init ~/src/gr -a gr -R gnuradio-default" > > UHD installed OK without any errors, but the remaining outbut from the build > is shown below. > > Anyone got any ideas how to fix this before I pull out any remaining hair I > haved left? > > ================================================================================= > > Cloning into 'gnuradio38'... > remote: Enumerating objects: 1164, done. > remote: Counting objects: 100% (1164/1164), done. > remote: Total 2892 (delta 1164), reused 1164 (delta 1164), pack-reused 1728 > Receiving objects: 100% (2892/2892), 1.28 MiB | 370.00 KiB/s, done. > Resolving deltas: 100% (2315/2315), completed with 322 local objects. > Submodule 'volk' (https://github.com/gnuradio/volk.git) registered for path > 'volk' > submodule 'volk' cannot add alternate: path > '/home/gonzo/.pybombs/gitcache/modules/volk/' does not existCloning into > '/home/gonzo/src/gr/src/gnuradio38/volk'... > remote: Enumerating objects: 33, done. > remote: Counting objects: 100% (33/33), done. > remote: Compressing objects: 100% (28/28), done. > remote: Total 7961 (delta 8), reused 17 (delta 4), pack-reused 7928 > Receiving objects: 100% (7961/7961), 2.17 MiB | 332.00 KiB/s, done. > Resolving deltas: 100% (5522/5522), done. > Submodule path 'volk': checked out '1299d72c396a88fd2679adfd7a919ac00d2cf678' > Configuring: (100%) > [===================================================================================================================================] > Building: (100%) > [===================================================================================================================================] > [ 6%] Built target volk_obj > [ 6%] Built target volk > [ 6%] Built target volk_test_all > [ 7%] Built target volk-config-info > [ 8%] Built target volk_profile > [ 8%] Built target pygen_volk_python_volk_modtool_9770a > [ 9%] Built target pygen_volk_python_volk_modtool_4d1e3 > [ 9%] Built target doxygen_target > [ 9%] Built target gnuradio-pmt > [ 9%] Building CXX object > gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/block.cc.o > In file included from > /home/gonzo/src/gr/src/gnuradio38/gnuradio-runtime/lib/../include/gnuradio/block.h:34:0, > from /home/gonzo/src/gr/src/gnuradio38/gnuradio-runtime/lib/block.cc:27: > /usr/include/gmpxx.h: In static member function ‘static int > __gmp_cmp_function::eval(mpf_srcptr, mpz_srcptr)’: > /usr/include/gmpxx.h:912:12: error: ‘mpf_cmp_z’ was not declared in this scope > { return mpf_cmp_z(f, z); } > ^~~~~~~~~ > /usr/include/gmpxx.h:912:12: note: suggested alternative: ‘mpf_cmp_d’ > { return mpf_cmp_z(f, z); } > ^~~~~~~~~ > mpf_cmp_d > /usr/include/gmpxx.h: In static member function ‘static int > __gmp_cmp_function::eval(mpz_srcptr, mpf_srcptr)’: > /usr/include/gmpxx.h:914:13: error: ‘mpf_cmp_z’ was not declared in this scope > { return -mpf_cmp_z(f, z); } > ^~~~~~~~~ > /usr/include/gmpxx.h:914:13: note: suggested alternative: ‘mpf_cmp_d’ > { return -mpf_cmp_z(f, z); } > ^~~~~~~~~ > mpf_cmp_d > /usr/include/gmpxx.h: In static member function ‘static bool > __gmp_binary_equal::eval(mpf_srcptr, mpz_srcptr)’: > /usr/include/gmpxx.h:980:12: error: ‘mpf_cmp_z’ was not declared in this scope > { return mpf_cmp_z(f, z) == 0; } > ^~~~~~~~~ > /usr/include/gmpxx.h:980:12: note: suggested alternative: ‘mpf_cmp_d’ > { return mpf_cmp_z(f, z) == 0; } > ^~~~~~~~~ > mpf_cmp_d > /usr/include/gmpxx.h: In static member function ‘static bool > __gmp_binary_less::eval(mpf_srcptr, mpz_srcptr)’: > /usr/include/gmpxx.h:1040:12: error: ‘mpf_cmp_z’ was not declared in this > scope > { return mpf_cmp_z(f, z) < 0; } > ^~~~~~~~~ > /usr/include/gmpxx.h:1040:12: note: suggested alternative: ‘mpf_cmp_d’ > { return mpf_cmp_z(f, z) < 0; } > ^~~~~~~~~ > mpf_cmp_d > /usr/include/gmpxx.h: In static member function ‘static bool > __gmp_binary_less::eval(mpz_srcptr, mpf_srcptr)’: > /usr/include/gmpxx.h:1042:12: error: ‘mpf_cmp_z’ was not declared in this > scope > { return mpf_cmp_z(f, z) > 0; } > ^~~~~~~~~ > /usr/include/gmpxx.h:1042:12: note: suggested alternative: ‘mpf_cmp_d’ > { return mpf_cmp_z(f, z) > 0; } > ^~~~~~~~~ > mpf_cmp_d > gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/build.make:110: recipe > for target 'gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/block.cc.o' > failed > make[2]: *** > [gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/block.cc.o] Error 1 > CMakeFiles/Makefile2:963: recipe for target > 'gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/all' failed > make[1]: *** [gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/all] Error > 2 > Makefile:140: recipe for target 'all' failed > make: *** [all] Error 2 > [ERROR] Build failed. See output above for error messages. > [ERROR] Problem occurred while building package gnuradio38: > Build failed. > [ERROR] Error installing package gnuradio38. Aborting. > > > -- > > Regards > > Al > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio