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<uhd::range_t*, std::vector<uhd::range_t> >’
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<uhd::range_t*, std::vector<uhd::range_t> >’
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<uhd::range_t*, std::vector<uhd::range_t> >’
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<uhd::range_t*, std::vector<uhd::range_t> >’
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<uhd::range_t*, std::vector<uhd::range_t> >’
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<uhd::range_t*, std::vector<uhd::range_t> >’
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
<[email protected]> 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_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 ....................***Failed 0.00 sec
Start 47: sensors_c_test
47/78 Test #47: sensors_c_test ...................***Failed 0.00 sec
Start 48: string_vector_c_test
48/78 Test #48: string_vector_c_test .............***Failed 0.00 sec
Start 49: subdev_spec_c_test
49/78 Test #49: subdev_spec_c_test ...............***Failed 0.00 sec
Start 50: system_time_test
50/78 Test #50: system_time_test .................***Failed 0.00 sec
Start 51: config_parser_test
51/78 Test #51: config_parser_test ...............***Failed 0.00 sec
Start 52: paths_test
52/78 Test #52: paths_test .......................***Failed 0.00 sec
Start 53: rfnoc_propprop_test
53/78 Test #53: rfnoc_propprop_test ..............***Failed 0.00 sec
Start 54: rfnoc_detailgraph_test
54/78 Test #54: rfnoc_detailgraph_test ...........***Failed 0.00 sec
Start 55: actions_test
55/78 Test #55: actions_test .....................***Failed 0.00 sec
Start 56: rfnoc_chdr_test
56/78 Test #56: rfnoc_chdr_test ..................***Failed 0.00 sec
Start 57: client_zero_test
57/78 Test #57: client_zero_test .................***Failed 0.00 sec
Start 58: addsub_block_test
58/78 Test #58: addsub_block_test ................***Failed 0.00 sec
Start 59: ddc_block_test
59/78 Test #59: ddc_block_test ...................***Failed 0.00 sec
Start 60: duc_block_test
60/78 Test #60: duc_block_test ...................***Failed 0.00 sec
Start 61: fft_block_test
61/78 Test #61: fft_block_test ...................***Failed 0.01 sec
Start 62: fir_filter_block_test
62/78 Test #62: fir_filter_block_test ............***Failed 0.00 sec
Start 63: fosphor_block_test
63/78 Test #63: fosphor_block_test ...............***Failed 0.00 sec
Start 64: keep_one_in_n_test
64/78 Test #64: keep_one_in_n_test ...............***Failed 0.00 sec
Start 65: logpwr_block_test
65/78 Test #65: logpwr_block_test ................***Failed 0.00 sec
Start 66: moving_average_block_test
66/78 Test #66: moving_average_block_test ........***Failed 0.00 sec
Start 67: null_block_test
67/78 Test #67: null_block_test ..................***Failed 0.00 sec
Start 68: replay_block_test
68/78 Test #68: replay_block_test ................***Failed 0.00 sec
Start 69: siggen_block_test
69/78 Test #69: siggen_block_test ................***Failed 0.01 sec
Start 70: split_stream_block_test
70/78 Test #70: split_stream_block_test ..........***Failed 0.00 sec
Start 71: switchboard_block_test
71/78 Test #71: switchboard_block_test ...........***Failed 0.01 sec
Start 72: vector_iir_block_test
72/78 Test #72: vector_iir_block_test ............***Failed 0.00 sec
Start 73: window_block_test
73/78 Test #73: window_block_test ................***Failed 0.00 sec
Start 74: transport_test
74/78 Test #74: transport_test ...................***Failed 0.00 sec
Start 75: offload_io_srv_test
75/78 Test #75: offload_io_srv_test ..............***Failed 0.01 sec
Start 76: serial_number_test
76/78 Test #76: serial_number_test ...............***Failed 0.00 sec
Start 77: pwr_cal_mgr_test
77/78 Test #77: pwr_cal_mgr_test .................***Failed 0.00 sec
Start 78: discoverable_feature_test
78/78 Test #78: discoverable_feature_test ........***Failed 0.00 sec
All the tests seem to fail.
On Friday, August 27, 2021, 03:58:38 PM EDT, Philip Balister
<[email protected]> wrote:
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 -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]