Dear all,
I downloaded recently vpp 17.07 rc2 and tried to build it, but there are a lot
of errors. I tried both “make build” and “make build-release”; Please see below:
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4642:6: error: unknown
type name ‘vl_api_lldp_config_reply_t’
(vl_api_##n##_t * mp) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4637:1: note: in
expansion of macro ‘_’
_(lldp_config_reply) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4653:1: note: in
expansion of macro ‘foreach_standard_reply_retval_handler’
foreach_standard_reply_retval_handler;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4642:6: error: unknown
type name ‘vl_api_sw_interface_set_lldp_reply_t’
(vl_api_##n##_t * mp) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4638:1: note: in
expansion of macro ‘_’
_(sw_interface_set_lldp_reply)
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4653:1: note: in
expansion of macro ‘foreach_standard_reply_retval_handler’
foreach_standard_reply_retval_handler;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4658:6: error: unknown
type name ‘vl_api_lldp_config_reply_t’
(vl_api_##n##_t * mp) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4637:1: note: in
expansion of macro ‘_’
_(lldp_config_reply) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4668:1: note: in
expansion of macro ‘foreach_standard_reply_retval_handler’
foreach_standard_reply_retval_handler;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4658:6: error: unknown
type name ‘vl_api_sw_interface_set_lldp_reply_t’
(vl_api_##n##_t * mp) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4638:1: note: in
expansion of macro ‘_’
_(sw_interface_set_lldp_reply)
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4668:1: note: in
expansion of macro ‘foreach_standard_reply_retval_handler’
foreach_standard_reply_retval_handler;
^
CCLD libvlib.la
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c: In function
‘api_lldp_config’:
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19243:3: error: unknown
type name ‘vl_api_lldp_config_t’
vl_api_lldp_config_t *mp;
^
In file included from
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:74:0:
/root/vpp-17.07/build-data/../src/vlibapi/vat_helper_macros.h:28:7: error:
request for member ‘_vl_msg_id’ in something not a structure or union
mp->_vl_msg_id = ntohs (VL_API_##T+__plugin_msg_base); \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19266:3: note: in
expansion of macro ‘M’
M (LLDP_CONFIG, mp);
^
In file included from /usr/include/bits/byteswap.h:35:0,
from /usr/include/endian.h:60,
from /usr/include/bits/waitstatus.h:64,
from /usr/include/stdlib.h:42,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/mm_malloc.h:27,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/xmmintrin.h:38,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/x86intrin.h:34,
from
/root/vpp-17.07/build-data/../src/vppinfra/vector_sse2.h:42,
from /root/vpp-17.07/build-data/../src/vppinfra/vector.h:241,
from
/root/vpp-17.07/build-data/../src/vppinfra/mheap_bootstrap.h:47,
from /root/vpp-17.07/build-data/../src/vppinfra/mem.h:44,
from /root/vpp-17.07/build-data/../src/vppinfra/vec.h:42,
from /root/vpp-17.07/build-data/../src/vppinfra/format.h:44,
from /root/vpp-17.07/build-data/../src/vat/vat.h:21,
from /root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20:
/root/vpp-17.07/build-data/../src/vlibapi/vat_helper_macros.h:28:29: error:
‘VL_API_LLDP_CONFIG’ undeclared (first use in this function)
mp->_vl_msg_id = ntohs (VL_API_##T+__plugin_msg_base); \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19266:3: note: in
expansion of macro ‘M’
M (LLDP_CONFIG, mp);
^
/root/vpp-17.07/build-data/../src/vlibapi/vat_helper_macros.h:28:29: note: each
undeclared identifier is reported only once for each function it appears in
mp->_vl_msg_id = ntohs (VL_API_##T+__plugin_msg_base); \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19266:3: note: in
expansion of macro ‘M’
M (LLDP_CONFIG, mp);
^
In file included from
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:74:0:
/root/vpp-17.07/build-data/../src/vlibapi/vat_helper_macros.h:29:7: error:
request for member ‘client_index’ in something not a structure or union
mp->client_index = vam->my_client_index; \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19266:3: note: in
expansion of macro ‘M’
M (LLDP_CONFIG, mp);
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19267:5: error: request
for member ‘tx_hold’ in something not a structure or union
mp->tx_hold = htonl (tx_hold);
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19268:5: error: request
for member ‘tx_interval’ in something not a structure or union
mp->tx_interval = htonl (tx_interval);
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19269:18: error: request
for member ‘system_name’ in something not a structure or union
clib_memcpy (mp->system_name, sys_name, vec_len (sys_name));
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c: In function
‘api_sw_interface_set_lldp’:
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19281:3: error: unknown
type name ‘vl_api_sw_interface_set_lldp_t’
vl_api_sw_interface_set_lldp_t *mp;
^
In file included from
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:74:0:
/root/vpp-17.07/build-data/../src/vlibapi/vat_helper_macros.h:28:7: error:
request for member ‘_vl_msg_id’ in something not a structure or union
mp->_vl_msg_id = ntohs (VL_API_##T+__plugin_msg_base); \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19310:3: note: in
expansion of macro ‘M’
M (SW_INTERFACE_SET_LLDP, mp);
^
In file included from /usr/include/bits/byteswap.h:35:0,
from /usr/include/endian.h:60,
from /usr/include/bits/waitstatus.h:64,
from /usr/include/stdlib.h:42,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/mm_malloc.h:27,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/xmmintrin.h:38,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/x86intrin.h:34,
from
/root/vpp-17.07/build-data/../src/vppinfra/vector_sse2.h:42,
from /root/vpp-17.07/build-data/../src/vppinfra/vector.h:241,
from
/root/vpp-17.07/build-data/../src/vppinfra/mheap_bootstrap.h:47,
from /root/vpp-17.07/build-data/../src/vppinfra/mem.h:44,
from /root/vpp-17.07/build-data/../src/vppinfra/vec.h:42,
from /root/vpp-17.07/build-data/../src/vppinfra/format.h:44,
from /root/vpp-17.07/build-data/../src/vat/vat.h:21,
from /root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20:
/root/vpp-17.07/build-data/../src/vlibapi/vat_helper_macros.h:28:29: error:
‘VL_API_SW_INTERFACE_SET_LLDP’ undeclared (first use in this function)
mp->_vl_msg_id = ntohs (VL_API_##T+__plugin_msg_base); \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19310:3: note: in
expansion of macro ‘M’
M (SW_INTERFACE_SET_LLDP, mp);
^
In file included from
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:74:0:
/root/vpp-17.07/build-data/../src/vlibapi/vat_helper_macros.h:29:7: error:
request for member ‘client_index’ in something not a structure or union
mp->client_index = vam->my_client_index; \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19310:3: note: in
expansion of macro ‘M’
M (SW_INTERFACE_SET_LLDP, mp);
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19311:5: error: request
for member ‘sw_if_index’ in something not a structure or union
mp->sw_if_index = ntohl (sw_if_index);
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19312:5: error: request
for member ‘enable’ in something not a structure or union
mp->enable = enable;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:19313:18: error: request
for member ‘port_desc’ in something not a structure or union
clib_memcpy (mp->port_desc, port_desc, vec_len (port_desc));
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c: At top level:
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20113:6: error: unknown
type name ‘vl_api_lldp_config_reply_t’
(vl_api_##n##_t * mp) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4921:1: note: in
expansion of macro ‘_’
_(LLDP_CONFIG_REPLY, lldp_config_reply) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20122:1: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20113:6: error: unknown
type name ‘vl_api_sw_interface_set_lldp_reply_t’
(vl_api_##n##_t * mp) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4922:1: note: in
expansion of macro ‘_’
_(SW_INTERFACE_SET_LLDP_REPLY, sw_interface_set_lldp_reply)
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20122:1: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c: In function
‘vat_api_hookup’:
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20132:29: error:
‘VL_API_LLDP_CONFIG_REPLY’ undeclared (first use in this function)
vl_msg_api_set_handlers(VL_API_##N, #n, \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4921:1: note: in
expansion of macro ‘_’
_(LLDP_CONFIG_REPLY, lldp_config_reply) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20133:28: error:
‘vl_api_lldp_config_reply_t_handler_uni’ undeclared (first use in this
function)
vl_api_##n##_t_handler_uni, \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4921:1: note: in
expansion of macro ‘_’
_(LLDP_CONFIG_REPLY, lldp_config_reply) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20135:28: error:
‘vl_api_lldp_config_reply_t_endian’ undeclared (first use in this function)
vl_api_##n##_t_endian, \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4921:1: note: in
expansion of macro ‘_’
_(LLDP_CONFIG_REPLY, lldp_config_reply) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20136:28: error:
‘vl_api_lldp_config_reply_t_print’ undeclared (first use in this function)
vl_api_##n##_t_print, \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4921:1: note: in
expansion of macro ‘_’
_(LLDP_CONFIG_REPLY, lldp_config_reply) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20137:35: error:
‘vl_api_lldp_config_reply_t’ undeclared (first use in this function)
sizeof(vl_api_##n##_t), 1);
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4921:1: note: in
expansion of macro ‘_’
_(LLDP_CONFIG_REPLY, lldp_config_reply) \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20132:29: error:
‘VL_API_SW_INTERFACE_SET_LLDP_REPLY’ undeclared (first use in this function)
vl_msg_api_set_handlers(VL_API_##N, #n, \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4922:1: note: in
expansion of macro ‘_’
_(SW_INTERFACE_SET_LLDP_REPLY, sw_interface_set_lldp_reply)
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20133:28: error:
‘vl_api_sw_interface_set_lldp_reply_t_handler_uni’ undeclared (first use in
this function)
vl_api_##n##_t_handler_uni, \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4922:1: note: in
expansion of macro ‘_’
_(SW_INTERFACE_SET_LLDP_REPLY, sw_interface_set_lldp_reply)
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20135:28: error:
‘vl_api_sw_interface_set_lldp_reply_t_endian’ undeclared (first use in this
function)
vl_api_##n##_t_endian, \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4922:1: note: in
expansion of macro ‘_’
_(SW_INTERFACE_SET_LLDP_REPLY, sw_interface_set_lldp_reply)
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20136:28: error:
‘vl_api_sw_interface_set_lldp_reply_t_print’ undeclared (first use in this
function)
vl_api_##n##_t_print, \
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4922:1: note: in
expansion of macro ‘_’
_(SW_INTERFACE_SET_LLDP_REPLY, sw_interface_set_lldp_reply)
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20137:35: error:
‘vl_api_sw_interface_set_lldp_reply_t’ undeclared (first use in this
function)
sizeof(vl_api_##n##_t), 1);
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:4922:1: note: in
expansion of macro ‘_’
_(SW_INTERFACE_SET_LLDP_REPLY, sw_interface_set_lldp_reply)
^
/root/vpp-17.07/build-data/../src/vpp/api/api_format.c:20138:3: note: in
expansion of macro ‘foreach_vpe_api_reply_msg’
foreach_vpe_api_reply_msg;
^
make[4]: *** [vpp/api/bin_vpp-api_format.o] Error 1
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev