Hi Shachar, 

Did you try cleaning the workspace? If not, from build-root try:

make distclean
./bootstrap.sh

and build again.

HTH,
Florin

> On Oct 22, 2017, at 11:58 PM, Shachar Beiser <shacha...@mellanox.com> wrote:
> 
> Hi ,
>  
>          I see a compilation issue while working on origin/stable/1710 .
>           
>                               -Shachar Beiser
>  
>  
>  
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h: In function 
> ‘Java_io_fd_vpp_jvpp_core_JVppCoreImpl_geneveAddDelTunnel0’:
> jvpp-core/jvpp_core_gen.h:16032:5: error: unknown type name 
> ‘vl_api_geneve_add_del_tunnel_t’
>      vl_api_geneve_add_del_tunnel_t * mp;
>      ^
> jvpp-core/jvpp_core_gen.h:16066:7: error: request for member ‘_vl_msg_id’ in 
> something not a structure or union
>      mp->_vl_msg_id = ntohs (get_message_id(env, 
> "geneve_add_del_tunnel_7a0f7fcb"));
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:16067:7: error: request for member ‘client_index’ 
> in something not a structure or union
>      mp->client_index = plugin_main->my_client_index;
>        ^
> jvpp-core/jvpp_core_gen.h:16068:7: error: request for member ‘context’ in 
> something not a structure or union
>      mp->context = clib_host_to_net_u32 (my_context_id);
>        ^
> jvpp-core/jvpp_core_gen.h:16071:7: error: request for member ‘is_add’ in 
> something not a structure or union
>      mp->is_add = isAdd;
>        ^
> jvpp-core/jvpp_core_gen.h:16072:7: error: request for member ‘is_ipv6’ in 
> something not a structure or union
>      mp->is_ipv6 = isIpv6;
>        ^
> jvpp-core/jvpp_core_gen.h:16078:74: error: request for member ‘local_address’ 
> in something not a structure or union
>          (*env)->GetByteArrayRegion(env, localAddress, 0, cnt, (jbyte 
> *)mp->local_address);
>                                                                           ^
> jvpp-core/jvpp_core_gen.h:16086:75: error: request for member 
> ‘remote_address’ in something not a structure or union
>          (*env)->GetByteArrayRegion(env, remoteAddress, 0, cnt, (jbyte 
> *)mp->remote_address);
>                                                                            ^
> jvpp-core/jvpp_core_gen.h:16089:7: error: request for member 
> ‘mcast_sw_if_index’ in something not a structure or union
>      mp->mcast_sw_if_index = clib_host_to_net_u32(mcastSwIfIndex);
>        ^
> jvpp-core/jvpp_core_gen.h:16090:7: error: request for member ‘encap_vrf_id’ 
> in something not a structure or union
>      mp->encap_vrf_id = clib_host_to_net_u32(encapVrfId);
>        ^
> jvpp-core/jvpp_core_gen.h:16091:7: error: request for member 
> ‘decap_next_index’ in something not a structure or union
>      mp->decap_next_index = clib_host_to_net_u32(decapNextIndex);
>        ^
> jvpp-core/jvpp_core_gen.h:16092:7: error: request for member ‘vni’ in 
> something not a structure or union
>      mp->vni = clib_host_to_net_u32(vni);
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h: In function 
> ‘Java_io_fd_vpp_jvpp_core_JVppCoreImpl_geneveTunnelDump0’:
> jvpp-core/jvpp_core_gen.h:16116:5: error: unknown type name 
> ‘vl_api_geneve_tunnel_dump_t’
>      vl_api_geneve_tunnel_dump_t * mp;
>      ^
> jvpp-core/jvpp_core_gen.h:16129:7: error: request for member ‘_vl_msg_id’ in 
> something not a structure or union
>      mp->_vl_msg_id = ntohs (get_message_id(env, 
> "geneve_tunnel_dump_5dc96241"));
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:16130:7: error: request for member ‘client_index’ 
> in something not a structure or union
>      mp->client_index = plugin_main->my_client_index;
>        ^
> jvpp-core/jvpp_core_gen.h:16131:7: error: request for member ‘context’ in 
> something not a structure or union
>      mp->context = clib_host_to_net_u32 (my_context_id);
>        ^
> jvpp-core/jvpp_core_gen.h:16134:7: error: request for member ‘sw_if_index’ in 
> something not a structure or union
>      mp->sw_if_index = clib_host_to_net_u32(swIfIndex);
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h: In function 
> ‘Java_io_fd_vpp_jvpp_core_JVppCoreImpl_swInterfaceSetGeneveBypass0’:
> jvpp-core/jvpp_core_gen.h:16158:5: error: unknown type name 
> ‘vl_api_sw_interface_set_geneve_bypass_t’
>      vl_api_sw_interface_set_geneve_bypass_t * mp;
>      ^
> jvpp-core/jvpp_core_gen.h:16177:7: error: request for member ‘_vl_msg_id’ in 
> something not a structure or union
>      mp->_vl_msg_id = ntohs (get_message_id(env, 
> "sw_interface_set_geneve_bypass_b1f82cba"));
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:16178:7: error: request for member ‘client_index’ 
> in something not a structure or union
>      mp->client_index = plugin_main->my_client_index;
>        ^
> jvpp-core/jvpp_core_gen.h:16179:7: error: request for member ‘context’ in 
> something not a structure or union
>      mp->context = clib_host_to_net_u32 (my_context_id);
>        ^
> jvpp-core/jvpp_core_gen.h:16182:7: error: request for member ‘sw_if_index’ in 
> something not a structure or union
>      mp->sw_if_index = clib_host_to_net_u32(swIfIndex);
>        ^
> jvpp-core/jvpp_core_gen.h:16183:7: error: request for member ‘is_ipv6’ in 
> something not a structure or union
>      mp->is_ipv6 = isIpv6;
>        ^
> jvpp-core/jvpp_core_gen.h:16184:7: error: request for member ‘enable’ in 
> something not a structure or union
>      mp->enable = enable;
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h: In function 
> ‘Java_io_fd_vpp_jvpp_core_JVppCoreImpl_dnsEnableDisable0’:
> jvpp-core/jvpp_core_gen.h:18054:5: error: unknown type name 
> ‘vl_api_dns_enable_disable_t’
>      vl_api_dns_enable_disable_t * mp;
>      ^
> jvpp-core/jvpp_core_gen.h:18067:7: error: request for member ‘_vl_msg_id’ in 
> something not a structure or union
>      mp->_vl_msg_id = ntohs (get_message_id(env, 
> "dns_enable_disable_5a206e11"));
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:18068:7: error: request for member ‘client_index’ 
> in something not a structure or union
>      mp->client_index = plugin_main->my_client_index;
>        ^
> jvpp-core/jvpp_core_gen.h:18069:7: error: request for member ‘context’ in 
> something not a structure or union
>      mp->context = clib_host_to_net_u32 (my_context_id);
>        ^
> jvpp-core/jvpp_core_gen.h:18072:7: error: request for member ‘enable’ in 
> something not a structure or union
>      mp->enable = enable;
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h: In function 
> ‘Java_io_fd_vpp_jvpp_core_JVppCoreImpl_dnsNameServerAddDel0’:
> jvpp-core/jvpp_core_gen.h:18096:5: error: unknown type name 
> ‘vl_api_dns_name_server_add_del_t’
>      vl_api_dns_name_server_add_del_t * mp;
>      ^
> jvpp-core/jvpp_core_gen.h:18115:7: error: request for member ‘_vl_msg_id’ in 
> something not a structure or union
>      mp->_vl_msg_id = ntohs (get_message_id(env, 
> "dns_name_server_add_del_8b26376b"));
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:18116:7: error: request for member ‘client_index’ 
> in something not a structure or union
>      mp->client_index = plugin_main->my_client_index;
>        ^
> jvpp-core/jvpp_core_gen.h:18117:7: error: request for member ‘context’ in 
> something not a structure or union
>      mp->context = clib_host_to_net_u32 (my_context_id);
>        ^
> jvpp-core/jvpp_core_gen.h:18120:7: error: request for member ‘is_ip6’ in 
> something not a structure or union
>      mp->is_ip6 = isIp6;
>        ^
> jvpp-core/jvpp_core_gen.h:18121:7: error: request for member ‘is_add’ in 
> something not a structure or union
>      mp->is_add = isAdd;
>        ^
> jvpp-core/jvpp_core_gen.h:18127:75: error: request for member 
> ‘server_address’ in something not a structure or union
>          (*env)->GetByteArrayRegion(env, serverAddress, 0, cnt, (jbyte 
> *)mp->server_address);
>                                                                            ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h: In function 
> ‘Java_io_fd_vpp_jvpp_core_JVppCoreImpl_dnsResolveName0’:
> jvpp-core/jvpp_core_gen.h:18153:5: error: unknown type name 
> ‘vl_api_dns_resolve_name_t’
>      vl_api_dns_resolve_name_t * mp;
>      ^
> jvpp-core/jvpp_core_gen.h:18166:7: error: request for member ‘_vl_msg_id’ in 
> something not a structure or union
>      mp->_vl_msg_id = ntohs (get_message_id(env, 
> "dns_resolve_name_e236b449"));
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:18167:7: error: request for member ‘client_index’ 
> in something not a structure or union
>      mp->client_index = plugin_main->my_client_index;
>        ^
> jvpp-core/jvpp_core_gen.h:18168:7: error: request for member ‘context’ in 
> something not a structure or union
>      mp->context = clib_host_to_net_u32 (my_context_id);
>        ^
> jvpp-core/jvpp_core_gen.h:18176:66: error: request for member ‘name’ in 
> something not a structure or union
>          (*env)->GetByteArrayRegion(env, name, 0, cnt, (jbyte *)mp->name);
>                                                                   ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h: In function 
> ‘Java_io_fd_vpp_jvpp_core_JVppCoreImpl_dnsResolveIp0’:
> jvpp-core/jvpp_core_gen.h:18202:5: error: unknown type name 
> ‘vl_api_dns_resolve_ip_t’
>      vl_api_dns_resolve_ip_t * mp;
>      ^
> jvpp-core/jvpp_core_gen.h:18218:7: error: request for member ‘_vl_msg_id’ in 
> something not a structure or union
>      mp->_vl_msg_id = ntohs (get_message_id(env, "dns_resolve_ip_7b2a904e"));
>        ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:18219:7: error: request for member ‘client_index’ 
> in something not a structure or union
>      mp->client_index = plugin_main->my_client_index;
>        ^
> jvpp-core/jvpp_core_gen.h:18220:7: error: request for member ‘context’ in 
> something not a structure or union
>      mp->context = clib_host_to_net_u32 (my_context_id);
>        ^
> jvpp-core/jvpp_core_gen.h:18223:7: error: request for member ‘is_ip6’ in 
> something not a structure or union
>      mp->is_ip6 = isIp6;
>        ^
> jvpp-core/jvpp_core_gen.h:18229:69: error: request for member ‘address’ in 
> something not a structure or union
>          (*env)->GetByteArrayRegion(env, address, 0, cnt, (jbyte 
> *)mp->address);
>                                                                      ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h: At top level:
> jvpp-core/jvpp_core_gen.h:35388:59: error: unknown type name 
> ‘vl_api_geneve_add_del_tunnel_reply_t’
> static void vl_api_geneve_add_del_tunnel_reply_t_handler 
> (vl_api_geneve_add_del_tunnel_reply_t * mp)
>                                                            ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:35460:53: error: unknown type name 
> ‘vl_api_geneve_tunnel_details_t’
> static void vl_api_geneve_tunnel_details_t_handler 
> (vl_api_geneve_tunnel_details_t * mp)
>                                                      ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:35533:68: error: unknown type name 
> ‘vl_api_sw_interface_set_geneve_bypass_reply_t’
> static void vl_api_sw_interface_set_geneve_bypass_reply_t_handler 
> (vl_api_sw_interface_set_geneve_bypass_reply_t * mp)
>                                                                     ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:37714:56: error: unknown type name 
> ‘vl_api_dns_enable_disable_reply_t’
> static void vl_api_dns_enable_disable_reply_t_handler 
> (vl_api_dns_enable_disable_reply_t * mp)
>                                                         ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:37767:61: error: unknown type name 
> ‘vl_api_dns_name_server_add_del_reply_t’
> static void vl_api_dns_name_server_add_del_reply_t_handler 
> (vl_api_dns_name_server_add_del_reply_t * mp)
>                                                              ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:37820:54: error: unknown type name 
> ‘vl_api_dns_resolve_name_reply_t’
> static void vl_api_dns_resolve_name_reply_t_handler 
> (vl_api_dns_resolve_name_reply_t * mp)
>                                                       ^
> In file included from 
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:47:0:
> jvpp-core/jvpp_core_gen.h:37891:52: error: unknown type name 
> ‘vl_api_dns_resolve_ip_reply_t’
> static void vl_api_dns_resolve_ip_reply_t_handler 
> (vl_api_dns_resolve_ip_reply_t * mp)
>                                                     ^
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:
>  In function ‘Java_io_fd_vpp_jvpp_core_JVppCoreImpl_init0’:
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:56858:
>  error: ‘vl_api_geneve_add_del_tunnel_reply_t_handler’ undeclared (first use 
> in this function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:56858:
>  note: each undeclared identifier is reported only once for each function it 
> appears in
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:56962:
>  error: ‘vl_api_geneve_add_del_tunnel_reply_t’ undeclared (first use in this 
> function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:57109:
>  error: ‘vl_api_geneve_tunnel_details_t_handler’ undeclared (first use in 
> this function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:57207:
>  error: ‘vl_api_geneve_tunnel_details_t’ undeclared (first use in this 
> function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:57378:
>  error: ‘vl_api_sw_interface_set_geneve_bypass_reply_t_handler’ undeclared 
> (first use in this function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:57491:
>  error: ‘vl_api_sw_interface_set_geneve_bypass_reply_t’ undeclared (first use 
> in this function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:66068:
>  error: ‘vl_api_dns_enable_disable_reply_t_handler’ undeclared (first use in 
> this function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:66169:
>  error: ‘vl_api_dns_enable_disable_reply_t’ undeclared (first use in this 
> function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:66329:
>  error: ‘vl_api_dns_name_server_add_del_reply_t_handler’ undeclared (first 
> use in this function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:66435:
>  error: ‘vl_api_dns_name_server_add_del_reply_t’ undeclared (first use in 
> this function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:66586:
>  error: ‘vl_api_dns_resolve_name_reply_t_handler’ undeclared (first use in 
> this function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:66685:
>  error: ‘vl_api_dns_resolve_name_reply_t’ undeclared (first use in this 
> function)
> /home/ubuntu/vpp.shacharbe/build-data/../src/vpp-api/java/jvpp-core/jvpp_core.c:71:66825:
>  error: ‘vl_api_dns_resolve_ip_reply_t_handler’ undeclared (first use in this 
> function)
> _______________________________________________
> vpp-dev mailing list
> vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
> https://lists.fd.io/mailman/listinfo/vpp-dev 
> <https://lists.fd.io/mailman/listinfo/vpp-dev>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to