[USRP-users] Re: CMake error when building UHD for N310
I'm noticing during the make process that I'm seeing a lot of these messages print out to the screen /usr/local/share/uhd/images/y/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/include/c++/9.2.0/bits/vector.tcc:121:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ^ /usr/local/share/uhd/images/y/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/include/c++/9.2.0/bits/vector.tcc:121:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ^ /usr/local/share/uhd/images/y/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/include/c++/9.2.0/bits/vector.tcc: In member function ‘void test_ranges_clip::test_method()’: /usr/local/share/uhd/images/y/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/include/c++/9.2.0/bits/vector.tcc:121:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ^ /usr/local/share/uhd/images/y/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/include/c++/9.2.0/bits/vector.tcc:121:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ^ /usr/local/share/uhd/images/y/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/include/c++/9.2.0/bits/vector.tcc: In member function ‘void test_ranges_bounds::test_method()’: /usr/local/share/uhd/images/y/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/include/c++/9.2.0/bits/vector.tcc:121:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ^ /usr/local/share/uhd/images/y/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/include/c++/9.2.0/bits/vector.tcc:121:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); I'm not sure if this point to a compiler compatibility issue or not. On Tuesday, August 31, 2021, 08:39:31 AM EDT, Tellrell White via USRP-users wrote: Thanks for the catch, however, UHD is still failing to build After issuing the "make command", and running a make test I'm getting the following tw@tw-virtual-machine:~/uhd_n310/uhd/host/build$ make test Running tests... Test project /home/tw/uhd_n310/uhd/host/build Start 1: addr_test 1/78 Test #1: addr_test ***Failed 0.00 sec Start 2: buffer_test 2/78 Test #2: buffer_test ..***Failed 0.00 sec Start 3: byteswap_test 3/78 Test #3: byteswap_test ***Failed 0.00 sec Start 4: cast_test 4/78 Test #4: cast_test ***Failed 0.00 sec Start 5: cal_database_test 5/78 Test #5: cal_database_test ***Failed 0.00 sec Start 6: cal_data_iq_test 6/78 Test #6: cal_data_iq_test .***Failed 0.00 sec Start 7: cal_data_gain_pwr_test 7/78 Test #7: cal_data_gain_pwr_test ...***Failed 0.00 sec Start 8: chdr_parse_test 8/78 Test #8: chdr_parse_test ..***Failed 0.00 sec Start 9: chdr_test 9/78 Test #9: chdr_test ***Failed 0.00 sec Start 10: constrained_device_args_test 10/78 Test #10: constrained_device_args_test .***Failed 0.00 sec Start 11: convert_test 11/78 Test #11: convert_test .***Failed 0.00 sec Start 12: dict_test 12/78 Test #12: dict_test ***Failed 0.00 sec Start 13: eeprom_utils_test 13/78 Test #13: eeprom_utils_test ***Failed 0.00 sec Start 14: error_test 14/78 Test #14: error_test ...***Failed 0.00 sec Start 15: fp_compare_delta_test 15/78 Test #15: fp_compare_delta_test ***Failed 0.00 sec Start 16: fp_compare_epsilon_test 16/78 Test #16: fp_compare_epsilon_test ..***Failed 0.00 sec Start 17: gain_group_test 17/78 Test #17: gain_group_test ..***Failed 0.00 sec Start 18: interpolation_test 18/78 Test #18: interpolation_test ...***Failed 0.00 sec Start 19: isatty_test 19/78 Test #19: isatty_test ..***Failed 0.00 sec Start 20: log_test 20/78 Test #20: log_test .***Failed 0.00 sec Start 21: math_test 21/78 Test #21: math_test ***Failed 0.01 sec Start 22: mb_controller_test 22/78 Test #22: mb_control
[USRP-users] Re: CMake error when building UHD for N310
Thanks for the catch, however, UHD is still failing to build After issuing the "make command", and running a make test I'm getting the following tw@tw-virtual-machine:~/uhd_n310/uhd/host/build$ make test Running tests... Test project /home/tw/uhd_n310/uhd/host/build Start 1: addr_test 1/78 Test #1: addr_test ***Failed 0.00 sec Start 2: buffer_test 2/78 Test #2: buffer_test ..***Failed 0.00 sec Start 3: byteswap_test 3/78 Test #3: byteswap_test ***Failed 0.00 sec Start 4: cast_test 4/78 Test #4: cast_test ***Failed 0.00 sec Start 5: cal_database_test 5/78 Test #5: cal_database_test ***Failed 0.00 sec Start 6: cal_data_iq_test 6/78 Test #6: cal_data_iq_test .***Failed 0.00 sec Start 7: cal_data_gain_pwr_test 7/78 Test #7: cal_data_gain_pwr_test ...***Failed 0.00 sec Start 8: chdr_parse_test 8/78 Test #8: chdr_parse_test ..***Failed 0.00 sec Start 9: chdr_test 9/78 Test #9: chdr_test ***Failed 0.00 sec Start 10: constrained_device_args_test 10/78 Test #10: constrained_device_args_test .***Failed 0.00 sec Start 11: convert_test 11/78 Test #11: convert_test .***Failed 0.00 sec Start 12: dict_test 12/78 Test #12: dict_test ***Failed 0.00 sec Start 13: eeprom_utils_test 13/78 Test #13: eeprom_utils_test ***Failed 0.00 sec Start 14: error_test 14/78 Test #14: error_test ...***Failed 0.00 sec Start 15: fp_compare_delta_test 15/78 Test #15: fp_compare_delta_test ***Failed 0.00 sec Start 16: fp_compare_epsilon_test 16/78 Test #16: fp_compare_epsilon_test ..***Failed 0.00 sec Start 17: gain_group_test 17/78 Test #17: gain_group_test ..***Failed 0.00 sec Start 18: interpolation_test 18/78 Test #18: interpolation_test ...***Failed 0.00 sec Start 19: isatty_test 19/78 Test #19: isatty_test ..***Failed 0.00 sec Start 20: log_test 20/78 Test #20: log_test .***Failed 0.00 sec Start 21: math_test 21/78 Test #21: math_test ***Failed 0.01 sec Start 22: mb_controller_test 22/78 Test #22: mb_controller_test ...***Failed 0.00 sec Start 23: narrow_cast_test 23/78 Test #23: narrow_cast_test .***Failed 0.00 sec Start 24: property_test 24/78 Test #24: property_test ***Failed 0.00 sec Start 25: ranges_test 25/78 Test #25: ranges_test ..***Failed 0.00 sec Start 26: rfnoc_node_test 26/78 Test #26: rfnoc_node_test ..***Failed 0.00 sec Start 27: scope_exit_test 27/78 Test #27: scope_exit_test ..***Failed 0.00 sec Start 28: sensors_test 28/78 Test #28: sensors_test .***Failed 0.00 sec Start 29: soft_reg_test 29/78 Test #29: soft_reg_test ***Failed 0.00 sec Start 30: sph_recv_test 30/78 Test #30: sph_recv_test ***Failed 0.00 sec Start 31: sph_send_test 31/78 Test #31: sph_send_test ***Failed 0.00 sec Start 32: subdev_spec_test 32/78 Test #32: subdev_spec_test .***Failed 0.01 sec Start 33: time_spec_test 33/78 Test #33: time_spec_test ...***Failed 0.00 sec Start 34: tasks_test 34/78 Test #34: tasks_test ...***Failed 0.00 sec Start 35: vrt_test 35/78 Test #35: vrt_test .***Failed 0.00 sec Start 36: expert_test 36/78 Test #36: expert_test ..***Failed 0.00 sec Start 37: fe_conn_test 37/78 Test #37: fe_conn_test .***Failed 0.00 sec Start 38: link_test 38/78 Test #38: link_test ***Failed 0.00 sec Start 39: rx_streamer_test 39/78 Test #39: rx_streamer_test .***Failed 0.00 sec Start 40: tx_streamer_test 40/78 Test #40: tx_streamer_test .***Failed 0.00 sec Start 41: block_id_test 41/78 Test #41: block_id_test ***Failed 0.00 sec Start 42: rfnoc_property_test 42/78 Test #42: rfnoc_property_test ..***Failed 0.00 sec Start 43: multichan_register_iface_test 43/78 Test #43: multichan_register_iface_test ***Failed 0.00 sec Start 44: eeprom_c_test 44/78 Test #44: eeprom_c_test ***Failed 0.00 sec Start 45: error_c_test 45/78 Test #45: error_c_test .***Failed 0.00 sec Start 46: ranges_c_test 46/78 Test #46: ranges_c_test *
[USRP-users] Re: CMake error when building UHD for N310
Try $ cmake -DCMAKE_TOOLCHAIN_FILE=/home/tw/uhd_n310/uhd/host/cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr/local/share/uhd_n310 .. Note the ".." on the end. Philip On 8/27/21 2:56 PM, Tellrell White via USRP-users wrote: > Currently, I'm trying to build UHD for the N310 on my host machine following > the link https://files.ettus.com/manual/page_usrp_n3xx.html#n3xx_fsbuild and > I'm getting the following error as shown. > > > tw@tw-virtual-machine:~/uhd_n310/uhd/host/build$ cmake > -DCMAKE_TOOLCHAIN_FILE=/home/tw/uhd_n310/uhd/host/cmake/Toolchains/oe-sdk_cross.cmake > -DCMAKE_INSTALL_PREFIX=/usr/local/share/uhd_n310 > CMake Warning: > No source or binary directory provided. Both will be assumed to be the > same as the current working directory, but note that this warning will > become a fatal error in future CMake releases. > > > CMake Error: The source directory "/home/tw/uhd_n310/uhd/host/build" does not > appear to contain CMakeLists.txt. > Specify --help for usage, or press the help button on the CMake GUI. > > > > > ___ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com > ___ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com