-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
-Wno-long-long -Wno-redundant-decls -I /usr/include/sai -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/sonic/src/sonic-swss=. -fstack-protector-strong -Wformat -Werror=format-security -c -o orchagent-copporch.o test -f 'copporch.cpp' || echo './'copporch.cpp
In file included from /usr/include/sai/sai_meta.h:6:0,
from /usr/include/sai/sai_serialize.h:18,
from intfsorch.cpp:8:
/usr/include/sai/saimetadata.h:373:10: error: 'sai_metadata_get_bfd_session_offload_type_name' initialized and declared 'extern' [-Werror]
In sai_bfd_session_offload_type_t value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:373:10: error: 'sai_bfd_session_offload_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:424:10: error: 'sai_metadata_get_counter_stat_name' initialized and declared 'extern' [-Werror]
In sai_counter_stat_t value);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:424:10: error: 'sai_counter_stat_t' was not declared in this scope
/usr/include/sai/saimetadata.h:427:10: error: 'sai_metadata_get_counter_type_name' initialized and declared 'extern' [-Werror]
In sai_counter_type_t value);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:427:10: error: 'sai_counter_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:430:10: error: 'sai_metadata_get_debug_counter_bind_method_name' initialized and declared 'extern' [-Werror]
In sai_debug_counter_bind_method_t value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:430:10: error: 'sai_debug_counter_bind_method_t' was not declared in this scope
/usr/include/sai/saimetadata.h:433:10: error: 'sai_metadata_get_debug_counter_type_name' initialized and declared 'extern' [-Werror]
In sai_debug_counter_type_t value);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:433:10: error: 'sai_debug_counter_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:481:10: error: 'sai_metadata_get_in_drop_reason_name' initialized and declared 'extern' [-Werror]
In sai_in_drop_reason_t value);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:481:10: error: 'sai_in_drop_reason_t' was not declared in this scope
/usr/include/sai/saimetadata.h:511:10: error: 'sai_metadata_get_nat_type_name' initialized and declared 'extern' [-Werror]
In sai_nat_type_t value);
^~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:511:10: error: 'sai_nat_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:541:10: error: 'sai_metadata_get_out_drop_reason_name' initialized and declared 'extern' [-Werror]
In sai_out_drop_reason_t value);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:541:10: error: 'sai_out_drop_reason_t' was not declared in this scope
/usr/include/sai/saimetadata.h:586:10: error: 'sai_metadata_get_port_ptp_mode_name' initialized and declared 'extern' [-Werror]
In sai_port_ptp_mode_t value);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:586:10: error: 'sai_port_ptp_mode_t' was not declared in this scope
/usr/include/sai/saimetadata.h:643:10: error: 'sai_metadata_get_switch_stat_name' initialized and declared 'extern' [-Werror]
In sai_switch_stat_t value);
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:643:10: error: 'sai_switch_stat_t' was not declared in this scope
/usr/include/sai/saimetadata.h:676:10: error: 'sai_metadata_get_tam_int_presence_type_name' initialized and declared 'extern' [-Werror]
In sai_tam_int_presence_type_t value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:676:10: error: 'sai_tam_int_presence_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:679:10: error: 'sai_metadata_get_tam_int_type_name' initialized and declared 'extern' [-Werror]
In sai_tam_int_type_t value);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:679:10: error: 'sai_tam_int_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:682:10: error: 'sai_metadata_get_tam_report_mode_name' initialized and declared 'extern' [-Werror]
In sai_tam_report_mode_t value);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:682:10: error: 'sai_tam_report_mode_t' was not declared in this scope
/usr/include/sai/saimetadata.h:755:8: error: 'sai_counter_api_t' does not name a type
extern sai_counter_api_t sai_metadata_sai_counter_api;
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:756:8: error: 'sai_debug_counter_api_t' does not name a type
extern sai_debug_counter_api_t sai_metadata_sai_debug_counter_api;
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:770:8: error: 'sai_nat_api_t' does not name a type
extern sai_nat_api_t sai_metadata_sai_nat_api;
^~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:836:5: error: 'sai_nat_api_t' does not name a type
sai_nat_api_t nat_api;
^~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:837:5: error: 'sai_counter_api_t' does not name a type
sai_counter_api_t counter_api;
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:838:5: error: 'sai_debug_counter_api_t' does not name a type
sai_debug_counter_api_t debug_counter_api;
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1060:10: error: 'sai_bfd_session_offload_type_t' has not been declared
In sai_bfd_session_offload_type_t bfd_session_offload_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1128:10: error: 'sai_counter_stat_t' has not been declared
In sai_counter_stat_t counter_stat);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1132:10: error: 'sai_counter_type_t' has not been declared
In sai_counter_type_t counter_type);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1136:10: error: 'sai_debug_counter_bind_method_t' has not been declared
In sai_debug_counter_bind_method_t debug_counter_bind_method);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1140:10: error: 'sai_debug_counter_type_t' has not been declared
In sai_debug_counter_type_t debug_counter_type);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1204:10: error: 'sai_in_drop_reason_t' has not been declared
In sai_in_drop_reason_t in_drop_reason);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1244:10: error: 'sai_nat_type_t' has not been declared
In sai_nat_type_t nat_type);
^~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1284:10: error: 'sai_out_drop_reason_t' has not been declared
In sai_out_drop_reason_t out_drop_reason);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1344:10: error: 'sai_port_ptp_mode_t' has not been declared
In sai_port_ptp_mode_t port_ptp_mode);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1428:10: error: 'sai_switch_stat_t' has not been declared
In sai_switch_stat_t switch_stat);
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1472:10: error: 'sai_tam_int_presence_type_t' has not been declared
In sai_tam_int_presence_type_t tam_int_presence_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1476:10: error: 'sai_tam_int_type_t' has not been declared
In sai_tam_int_type_t tam_int_type);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1480:10: error: 'sai_tam_report_mode_t' has not been declared
In sai_tam_report_mode_t tam_report_mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1644:16: error: 'sai_nat_entry_data_t' does not name a type
In const sai_nat_entry_data_t *nat_entry_data);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1648:16: error: 'sai_nat_entry_key_t' does not name a type
In const sai_nat_entry_key_t *nat_entry_key);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1652:16: error: 'sai_nat_entry_mask_t' does not name a type
In const sai_nat_entry_mask_t *nat_entry_mask);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1656:16: error: 'sai_nat_entry_t' does not name a type
In const sai_nat_entry_t *nat_entry);
^~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1898:11: error: 'sai_bfd_session_offload_type_t' has not been declared
Out sai_bfd_session_offload_type_t *bfd_session_offload_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1966:11: error: 'sai_counter_stat_t' has not been declared
Out sai_counter_stat_t *counter_stat);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1970:11: error: 'sai_counter_type_t' has not been declared
Out sai_counter_type_t *counter_type);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1974:11: error: 'sai_debug_counter_bind_method_t' has not been declared
Out sai_debug_counter_bind_method_t *debug_counter_bind_method);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1978:11: error: 'sai_debug_counter_type_t' has not been declared
Out sai_debug_counter_type_t *debug_counter_type);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2042:11: error: 'sai_in_drop_reason_t' has not been declared
Out sai_in_drop_reason_t *in_drop_reason);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2082:11: error: 'sai_nat_type_t' has not been declared
Out sai_nat_type_t *nat_type);
^~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2122:11: error: 'sai_out_drop_reason_t' has not been declared
Out sai_out_drop_reason_t *out_drop_reason);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2182:11: error: 'sai_port_ptp_mode_t' has not been declared
Out sai_port_ptp_mode_t *port_ptp_mode);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2266:11: error: 'sai_switch_stat_t' has not been declared
Out sai_switch_stat_t *switch_stat);
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2310:11: error: 'sai_tam_int_presence_type_t' has not been declared
Out sai_tam_int_presence_type_t *tam_int_presence_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2314:11: error: 'sai_tam_int_type_t' has not been declared
Out sai_tam_int_type_t *tam_int_type);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2318:11: error: 'sai_tam_report_mode_t' has not been declared
Out sai_tam_report_mode_t *tam_report_mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2482:11: error: 'sai_nat_entry_data_t' has not been declared
Out sai_nat_entry_data_t *nat_entry_data);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2486:11: error: 'sai_nat_entry_key_t' has not been declared
Out sai_nat_entry_key_t *nat_entry_key);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2490:11: error: 'sai_nat_entry_mask_t' has not been declared
Out sai_nat_entry_mask_t *nat_entry_mask);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2494:11: error: 'sai_nat_entry_t' has not been declared
Out sai_nat_entry_t *nat_entry);
^~~~~~~~~~~~~~~
In file included from /usr/include/sai/sai_meta.h:6:0,
from /usr/include/sai/sai_serialize.h:18,
from portsorch.cpp:22:
/usr/include/sai/saimetadata.h:373:10: error: 'sai_metadata_get_bfd_session_offload_type_name' initialized and declared 'extern' [-Werror]
In sai_bfd_session_offload_type_t value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:373:10: error: 'sai_bfd_session_offload_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:424:10: error: 'sai_metadata_get_counter_stat_name' initialized and declared 'extern' [-Werror]
In sai_counter_stat_t value);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:424:10: error: 'sai_counter_stat_t' was not declared in this scope
/usr/include/sai/saimetadata.h:427:10: error: 'sai_metadata_get_counter_type_name' initialized and declared 'extern' [-Werror]
In sai_counter_type_t value);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:427:10: error: 'sai_counter_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:430:10: error: 'sai_metadata_get_debug_counter_bind_method_name' initialized and declared 'extern' [-Werror]
In sai_debug_counter_bind_method_t value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:430:10: error: 'sai_debug_counter_bind_method_t' was not declared in this scope
/usr/include/sai/saimetadata.h:433:10: error: 'sai_metadata_get_debug_counter_type_name' initialized and declared 'extern' [-Werror]
In sai_debug_counter_type_t value);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:433:10: error: 'sai_debug_counter_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:481:10: error: 'sai_metadata_get_in_drop_reason_name' initialized and declared 'extern' [-Werror]
In sai_in_drop_reason_t value);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:481:10: error: 'sai_in_drop_reason_t' was not declared in this scope
/usr/include/sai/saimetadata.h:511:10: error: 'sai_metadata_get_nat_type_name' initialized and declared 'extern' [-Werror]
In sai_nat_type_t value);
^~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:511:10: error: 'sai_nat_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:541:10: error: 'sai_metadata_get_out_drop_reason_name' initialized and declared 'extern' [-Werror]
In sai_out_drop_reason_t value);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:541:10: error: 'sai_out_drop_reason_t' was not declared in this scope
/usr/include/sai/saimetadata.h:586:10: error: 'sai_metadata_get_port_ptp_mode_name' initialized and declared 'extern' [-Werror]
In sai_port_ptp_mode_t value);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:586:10: error: 'sai_port_ptp_mode_t' was not declared in this scope
/usr/include/sai/saimetadata.h:643:10: error: 'sai_metadata_get_switch_stat_name' initialized and declared 'extern' [-Werror]
In sai_switch_stat_t value);
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:643:10: error: 'sai_switch_stat_t' was not declared in this scope
/usr/include/sai/saimetadata.h:676:10: error: 'sai_metadata_get_tam_int_presence_type_name' initialized and declared 'extern' [-Werror]
In sai_tam_int_presence_type_t value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:676:10: error: 'sai_tam_int_presence_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:679:10: error: 'sai_metadata_get_tam_int_type_name' initialized and declared 'extern' [-Werror]
In sai_tam_int_type_t value);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:679:10: error: 'sai_tam_int_type_t' was not declared in this scope
/usr/include/sai/saimetadata.h:682:10: error: 'sai_metadata_get_tam_report_mode_name' initialized and declared 'extern' [-Werror]
In sai_tam_report_mode_t value);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:682:10: error: 'sai_tam_report_mode_t' was not declared in this scope
/usr/include/sai/saimetadata.h:755:8: error: 'sai_counter_api_t' does not name a type
extern sai_counter_api_t sai_metadata_sai_counter_api;
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:756:8: error: 'sai_debug_counter_api_t' does not name a type
extern sai_debug_counter_api_t sai_metadata_sai_debug_counter_api;
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:770:8: error: 'sai_nat_api_t' does not name a type
extern sai_nat_api_t sai_metadata_sai_nat_api;
^~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:836:5: error: 'sai_nat_api_t' does not name a type
sai_nat_api_t nat_api;
^~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:837:5: error: 'sai_counter_api_t' does not name a type
sai_counter_api_t counter_api;
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:838:5: error: 'sai_debug_counter_api_t' does not name a type
sai_debug_counter_api_t debug_counter_api;
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1060:10: error: 'sai_bfd_session_offload_type_t' has not been declared
In sai_bfd_session_offload_type_t bfd_session_offload_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1128:10: error: 'sai_counter_stat_t' has not been declared
In sai_counter_stat_t counter_stat);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1132:10: error: 'sai_counter_type_t' has not been declared
In sai_counter_type_t counter_type);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1136:10: error: 'sai_debug_counter_bind_method_t' has not been declared
In sai_debug_counter_bind_method_t debug_counter_bind_method);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1140:10: error: 'sai_debug_counter_type_t' has not been declared
In sai_debug_counter_type_t debug_counter_type);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1204:10: error: 'sai_in_drop_reason_t' has not been declared
In sai_in_drop_reason_t in_drop_reason);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1244:10: error: 'sai_nat_type_t' has not been declared
In sai_nat_type_t nat_type);
^~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1284:10: error: 'sai_out_drop_reason_t' has not been declared
In sai_out_drop_reason_t out_drop_reason);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1344:10: error: 'sai_port_ptp_mode_t' has not been declared
In sai_port_ptp_mode_t port_ptp_mode);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1428:10: error: 'sai_switch_stat_t' has not been declared
In sai_switch_stat_t switch_stat);
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1472:10: error: 'sai_tam_int_presence_type_t' has not been declared
In sai_tam_int_presence_type_t tam_int_presence_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1476:10: error: 'sai_tam_int_type_t' has not been declared
In sai_tam_int_type_t tam_int_type);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1480:10: error: 'sai_tam_report_mode_t' has not been declared
In sai_tam_report_mode_t tam_report_mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1644:16: error: 'sai_nat_entry_data_t' does not name a type
In const sai_nat_entry_data_t *nat_entry_data);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1648:16: error: 'sai_nat_entry_key_t' does not name a type
In const sai_nat_entry_key_t *nat_entry_key);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1652:16: error: 'sai_nat_entry_mask_t' does not name a type
In const sai_nat_entry_mask_t *nat_entry_mask);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1656:16: error: 'sai_nat_entry_t' does not name a type
In const sai_nat_entry_t *nat_entry);
^~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1898:11: error: 'sai_bfd_session_offload_type_t' has not been declared
Out sai_bfd_session_offload_type_t *bfd_session_offload_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1966:11: error: 'sai_counter_stat_t' has not been declared
Out sai_counter_stat_t *counter_stat);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1970:11: error: 'sai_counter_type_t' has not been declared
Out sai_counter_type_t *counter_type);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1974:11: error: 'sai_debug_counter_bind_method_t' has not been declared
Out sai_debug_counter_bind_method_t *debug_counter_bind_method);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:1978:11: error: 'sai_debug_counter_type_t' has not been declared
Out sai_debug_counter_type_t *debug_counter_type);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2042:11: error: 'sai_in_drop_reason_t' has not been declared
Out sai_in_drop_reason_t *in_drop_reason);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2082:11: error: 'sai_nat_type_t' has not been declared
Out sai_nat_type_t *nat_type);
^~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2122:11: error: 'sai_out_drop_reason_t' has not been declared
Out sai_out_drop_reason_t *out_drop_reason);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2182:11: error: 'sai_port_ptp_mode_t' has not been declared
Out sai_port_ptp_mode_t *port_ptp_mode);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2266:11: error: 'sai_switch_stat_t' has not been declared
Out sai_switch_stat_t *switch_stat);
^~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2310:11: error: 'sai_tam_int_presence_type_t' has not been declared
Out sai_tam_int_presence_type_t *tam_int_presence_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2314:11: error: 'sai_tam_int_type_t' has not been declared
Out sai_tam_int_type_t *tam_int_type);
^~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2318:11: error: 'sai_tam_report_mode_t' has not been declared
Out sai_tam_report_mode_t *tam_report_mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2482:11: error: 'sai_nat_entry_data_t' has not been declared
Out sai_nat_entry_data_t *nat_entry_data);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2486:11: error: 'sai_nat_entry_key_t' has not been declared
Out sai_nat_entry_key_t *nat_entry_key);
^~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2490:11: error: 'sai_nat_entry_mask_t' has not been declared
Out sai_nat_entry_mask_t *nat_entry_mask);
^~~~~~~~~~~~~~~~~~~~
/usr/include/sai/saimetadata.h:2494:11: error: 'sai_nat_entry_t' has not been declared
Out sai_nat_entry_t *nat_entry);
^~~~~~~~~~~~~~~
copporch.cpp:74:13: error: 'SAI_HOSTIF_TRAP_TYPE_BFD' was not declared in this scope
{"bfd", SAI_HOSTIF_TRAP_TYPE_BFD},
^~~~~~~~~~~~~~~~~~~~~~~~
copporch.cpp:75:15: error: 'SAI_HOSTIF_TRAP_TYPE_BFDV6' was not declared in this scope
{"bfdv6", SAI_HOSTIF_TRAP_TYPE_BFDV6}
^~~~~~~~~~~~~~~~~~~~~~~~~~
copporch.cpp:76:1: error: could not convert '{{"stp", SAI_HOSTIF_TRAP_TYPE_STP}, {"lacp", SAI_HOSTIF_TRAP_TYPE_LACP}, {"eapol", SAI_HOSTIF_TRAP_TYPE_EAPOL}, {"lldp", SAI_HOSTIF_TRAP_TYPE_LLDP}, {"pvrst", SAI_HOSTIF_TRAP_TYPE_PVRST}, {"igmp_query", SAI_HOSTIF_TRAP_TYPE_IGMP_TYPE_QUERY}, {"igmp_leave", SAI_HOSTIF_TRAP_TYPE_IGMP_TYPE_LEAVE}, {"igmp_v1_report", SAI_HOSTIF_TRAP_TYPE_IGMP_TYPE_V1_REPORT}, {"igmp_v2_report", SAI_HOSTIF_TRAP_TYPE_IGMP_TYPE_V2_REPORT}, {"igmp_v3_report", SAI_HOSTIF_TRAP_TYPE_IGMP_TYPE_V3_REPORT}, {"sample_packet", SAI_HOSTIF_TRAP_TYPE_SAMPLEPACKET}, {"switch_cust_range", SAI_HOSTIF_TRAP_TYPE_SWITCH_CUSTOM_RANGE_BASE}, {"arp_req", SAI_HOSTIF_TRAP_TYPE_ARP_REQUEST}, {"arp_resp", SAI_HOSTIF_TRAP_TYPE_ARP_RESPONSE}, {"dhcp", SAI_HOSTIF_TRAP_TYPE_DHCP}, {"ospf", SAI_HOSTIF_TRAP_TYPE_OSPF}, {"pim", SAI_HOSTIF_TRAP_TYPE_PIM}, {"vrrp", SAI_HOSTIF_TRAP_TYPE_VRRP}, {"bgp", SAI_HOSTIF_TRAP_TYPE_BGP}, {"dhcpv6", SAI_HOSTIF_TRAP_TYPE_DHCPV6}, {"ospfv6", SAI_HOSTIF_TRAP_TYPE_OSPFV6}, {"vrrpv6", SAI_HOSTIF_TRAP_TYPE_VRRPV6}, {"bgpv6", SAI_HOSTIF_TRAP_TYPE_BGPV6}, {"neigh_discovery", SAI_HOSTIF_TRAP_TYPE_IPV6_NEIGHBOR_DISCOVERY}, {"mld_v1_v2", SAI_HOSTIF_TRAP_TYPE_IPV6_MLD_V1_V2}, {"mld_v1_report", SAI_HOSTIF_TRAP_TYPE_IPV6_MLD_V1_REPORT}, {"mld_v1_done", SAI_HOSTIF_TRAP_TYPE_IPV6_MLD_V1_DONE}, {"mld_v2_report", SAI_HOSTIF_TRAP_TYPE_MLD_V2_REPORT}, {"ip2me", SAI_HOSTIF_TRAP_TYPE_IP2ME}, {"ssh", SAI_HOSTIF_TRAP_TYPE_SSH}, {"snmp", SAI_HOSTIF_TRAP_TYPE_SNMP}, {"router_custom_range", SAI_HOSTIF_TRAP_TYPE_ROUTER_CUSTOM_RANGE_BASE}, {"l3_mtu_error", SAI_HOSTIF_TRAP_TYPE_L3_MTU_ERROR}, {"ttl_error", SAI_HOSTIF_TRAP_TYPE_TTL_ERROR}, {"udld", SAI_HOSTIF_TRAP_TYPE_UDLD}, {"bfd", }, {"bfdv6", }}' from '' to 'std::map<std::__cxx11::basic_string, _sai_hostif_trap_type_t>'
};
^
copporch.cpp: In member function 'bool CoppOrch::createGenetlinkHostIfTable(std::vector<std::__cxx11::basic_string >&)':
copporch.cpp:227:35: error: 'SAI_HOSTIF_TABLE_ENTRY_CHANNEL_TYPE_GENETLINK' was not declared in this scope
attr.value.s32 = SAI_HOSTIF_TABLE_ENTRY_CHANNEL_TYPE_GENETLINK;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
copporch.cpp: In member function 'task_process_status CoppOrch::processCoppRule(Consumer&)':
copporch.cpp:578:34: error: 'SAI_HOSTIF_TYPE_GENETLINK' was not declared in this scope
attr.value.s32 = SAI_HOSTIF_TYPE_GENETLINK;
^~~~~~~~~~~~~~~~~~~~~~~~~
copporch.cpp:589:27: error: 'SAI_HOSTIF_ATTR_GENETLINK_MCGRP_NAME' was not declared in this scope
attr.id = SAI_HOSTIF_ATTR_GENETLINK_MCGRP_NAME;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:688: recipe for target 'orchagent-copporch.o' failed
make[4]: *** [orchagent-copporch.o] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
Makefile:660: recipe for target 'orchagent-intfsorch.o' failed
make[4]: *** [orchagent-intfsorch.o] Error 1
cc1plus: all warnings being treated as errors
Makefile:674: recipe for target 'orchagent-portsorch.o' failed
make[4]: *** [orchagent-portsorch.o] Error 1
make[4]: Leaving directory '/sonic/src/sonic-swss/orchagent'
Makefile:404: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/sonic/src/sonic-swss'
Makefile:336: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/sonic/src/sonic-swss'
dh_auto_build: make -j8 returned exit code 2
debian/rules:22: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/sonic/src/sonic-swss'
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[ FAIL LOG END ] [ target/debs/stretch/swss_1.0.0_amd64.deb ]
make: *** [target/debs/stretch/swss_1.0.0_amd64.deb] Error 1
slave.mk:335: recipe for target 'target/debs/stretch/swss_1.0.0_amd64.deb' failed
Makefile.work:193: recipe for target 'target/sonic-barefoot.bin' failed
make[1]: *** [target/sonic-barefoot.bin] Error 2
make[1]: Leaving directory '/data/johnar/workspace/barefoot/buildimage-bf-all'
Makefile:6: recipe for target 'target/sonic-barefoot.bin' failed
make: *** [target/sonic-barefoot.bin] Error 2
Build step 'Execute shell' marked build as failure
Archiving artifacts
[Slack Notifications] found #459 as previous completed, non-aborted build
Finished: FAILURE