Shashi,

Why not simply clone into an empty directory  and “make build” in the root 
directory ?

--a

> On 3 Apr 2018, at 12:03, Shashi Kant Singh <sksi...@altiostar.com> wrote:
> 
> Hi Andrew, 
> 
> I was trying that in the meantime. This is what I have got:
> 
> git clone https://gerrit.fd.io/r/vpp vpp5
> git checkout remotes/origin/master
> cd build-root/
> make distclean
> cd ..
> make build
> 
> [root@vbbubng6-shashi-7 vpp5]#  make  run STARTUP_CONF=../startup.conf
> vlib_plugin_early_init:359: plugin path 
> /bng5/shashi-7/vpp5/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins
> load_one_plugin:187: Loaded plugin: acl_plugin.so (Access Control Lists)
> load_one_plugin:187: Loaded plugin: avf_plugin.so (Intel Adaptive Virtual 
> Function (AVF) Device Plugin)
> load_one_plugin:189: Loaded plugin: cdp_plugin.so
> load_one_plugin:187: Loaded plugin: dpdk_plugin.so (Data Plane Development 
> Kit (DPDK))
> load_one_plugin:187: Loaded plugin: flowprobe_plugin.so (Flow per Packet)
> load_one_plugin:187: Loaded plugin: gbp_plugin.so (Group Based Policy)
> load_one_plugin:187: Loaded plugin: gtpu_plugin.so (GTPv1-U)
> load_one_plugin:187: Loaded plugin: igmp_plugin.so (IGMP messaging)
> load_one_plugin:187: Loaded plugin: ila_plugin.so (Identifier-locator 
> addressing for IPv6)
> load_one_plugin:187: Loaded plugin: ioam_plugin.so (Inbound OAM)
> load_one_plugin:117: Plugin disabled (default): ixge_plugin.so
> load_one_plugin:187: Loaded plugin: kubeproxy_plugin.so (kube-proxy data 
> plane)
> load_one_plugin:187: Loaded plugin: l2e_plugin.so (L2 Emulation)
> load_one_plugin:187: Loaded plugin: lacp_plugin.so (Link Aggregation Control 
> Protocol)
> load_one_plugin:187: Loaded plugin: lb_plugin.so (Load Balancer)
> load_one_plugin:187: Loaded plugin: memif_plugin.so (Packet Memory Interface 
> (experimetal))
> load_one_plugin:187: Loaded plugin: nat_plugin.so (Network Address 
> Translation)
> load_one_plugin:187: Loaded plugin: pppoe_plugin.so (PPPoE)
> load_one_plugin:187: Loaded plugin: srv6ad_plugin.so (Dynamic SRv6 proxy)
> load_one_plugin:187: Loaded plugin: srv6am_plugin.so (Masquerading SRv6 proxy)
> load_one_plugin:187: Loaded plugin: srv6as_plugin.so (Static SRv6 proxy)
> load_one_plugin:187: Loaded plugin: stn_plugin.so (VPP Steals the NIC for 
> Container integration)
> load_one_plugin:187: Loaded plugin: tlsmbedtls_plugin.so (mbedtls based TLS 
> Engine)
> load_one_plugin:187: Loaded plugin: tlsopenssl_plugin.so (openssl based TLS 
> Engine)
> tls_init_ca_chain:600: Could not initialize TLS CA certificates
> tls_openssl_init:650: failed to initialize TLS CA chain
> tls_init_ca_chain:567: Could not initialize TLS CA certificates
> tls_mbedtls_init:606: failed to initialize TLS CA chain
> dpdk_config:1271: EAL init args: -c e -n 4 --huge-dir /run/vpp/hugepages 
> --file-prefix vpp -w 0000:00:07.0 -w 0000:00:08.0 --master-lcore 1 
> --socket-mem 1024
> 
> 
> root@vbbubng6-shashi-7 vpp5]# 
> ./build-root/install-vpp_debug-native/vpp/bin/vpp_api_test  plugin_path 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/lacp_plugin.so: 
> undefined symbol: bond_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/kubeproxy_plugin.so:
>  undefined symbol: socket_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/gbp_plugin.so: 
> undefined symbol: socket_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/acl_plugin.so: 
> undefined symbol: socket_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/lb_plugin.so: 
> undefined symbol: socket_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/igmp_plugin.so: 
> undefined symbol: socket_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/srv6as_plugin.so: 
> undefined symbol: sr_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ixge_plugin.so: 
> undefined symbol: format_vnet_buffer
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/gtpu_plugin.so: 
> undefined symbol: l2input_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/memif_plugin.so: 
> undefined symbol: unix_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/tlsmbedtls_plugin.so:
>  undefined symbol: vlib_thread_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/srv6am_plugin.so: 
> undefined symbol: sr_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/pppoe_plugin.so: 
> undefined symbol: ip6_input_node
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/avf_plugin.so: 
> undefined symbol: unformat_vlib_pci_addr
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/l2e_plugin.so: 
> undefined symbol: socket_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/tlsopenssl_plugin.so:
>  undefined symbol: test_srv_crt_rsa
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/nat_plugin.so: 
> undefined symbol: ip4_lookup_node
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/cdp_plugin.so: 
> undefined symbol: vnet_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so: 
> undefined symbol: socket_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ioam_plugin.so: 
> undefined symbol: _vlib_init_function_flow_report_init
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/srv6ad_plugin.so: 
> undefined symbol: sr_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/stn_plugin.so: 
> undefined symbol: socket_main
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ila_plugin.so: 
> undefined symbol: unformat_vnet_sw_interface
> load_one_plugin:42: 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/flowprobe_plugin.so:
>  undefined symbol: ip4_lookup_node
> vat#
> 
> 
> 
> -----Original Message-----
> From: Andrew 👽 Yourtchenko [mailto:ayour...@gmail.com] 
> Sent: 03 April 2018 15:30
> To: Shashi Kant Singh
> Cc: vpp-dev@lists.fd.io
> Subject: Re: [vpp-dev] VAT ACL for 18.04
> 
> Shashi,
> 
> yeah, this looks like some localized issue with the build.
> 
> You might issue "git clean -fdx" to get rid of extraneous stuff and then redo 
> "make build", or just check out a clean repo into a new directory.
> 
> I have just checked out the fresh master on ubuntu 16.04.4 box, built it, and 
> was able to run vat with all the plugins, using this command:
> 
> sudo ./build-root/install-vpp_debug-native/vpp/bin/vpp_api_test
> plugin_path 
> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins/
> 
> This is from the topmost VPP repo directory of course.
> 
> If you then can reproduce the failure again, the detailed steps might be 
> helpful to try to devise a way to fix it...
> 
> --a
> 
>> On 4/3/18, Shashi Kant Singh <sksi...@altiostar.com> wrote:
>> Hi Andrew
>> 
>> I saw this link, similar to my problem:
>> 
>> https://www.mail-archive.com/vpp-dev@lists.fd.io/msg02547.html
>> 
>> 
>> When I try to give plugin_path, I get this error (even with a fresh 
>> build)
>> 
>> root@vbbubng6-shashi-7 vpp]#
>> ./build-root/install-vpp_debug-native/vpp/bin/vpp_api_test
>> plugin_path 
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/
>> lib64/vpp_plugins
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/kubeproxy_plugin.so:
>> undefined symbol: unformat_ip46_address
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/acl_plugin.so:
>> undefined symbol: format_bihash_48_8
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/libsixrd_plugin.so:
>> undefined symbol: format_dpo_proto
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/lb_plugin.so:
>> undefined symbol: unformat_ip46_address
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ixge_plugin.so:
>> undefined symbol: format_vnet_buffer
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/gtpu_plugin.so:
>> undefined symbol: l2input_main
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/memif_plugin.so:
>> undefined symbol: unix_main
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/pppoe_plugin.so:
>> undefined symbol: ip6_input_node
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/l2e_plugin.so:
>> undefined symbol: format_vnet_sw_if_index_name
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/nat_plugin.so:
>> undefined symbol: ip4_lookup_node
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so:
>> undefined symbol: unformat_vnet_hw_interface
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ioam_plugin.so:
>> undefined symbol: _vlib_init_function_flow_report_init
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/stn_plugin.so:
>> undefined symbol: unformat_ip46_address
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ila_plugin.so:
>> undefined symbol: unformat_vnet_sw_interface
>> load_one_plugin:42:
>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/flowprobe_plugin.so:
>> undefined symbol: ip4_lookup_node
>> vat#
>> 
>> 
>> 
>> 
>> From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of 
>> Andrew Yourtchenko
>> Sent: 03 April 2018 01:16
>> To: vpp-dev@lists.fd.io
>> Cc: vpp-dev@lists.fd.io
>> Subject: Re: [vpp-dev] VAT ACL for 18.04
>> 
>> Shashi,
>> 
>> Probably your 1804 environment is not happy.
>> 
>> The commands are still there, but if you don’t see it in vat it means 
>> it can’t load acl plugin, so you will need to doublecheck why.
>> 
>> --a
>> 
>> On 2 Apr 2018, at 12:06, Shashi Kant Singh 
>> <sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote:
>> Hi
>> 
>> I was trying to follow
>> 
>> https://wiki.fd.io/view/VPP/SecurityGroups#acl_interface_set_acl_list_
>> :_set_the_list_of_inbound.2Boutbound_ACLs_for_a_given_interface
>> 
>> for VAT ACL commands on 18.04 but cannot these command valid anymore.
>> 
>> Pls help with ACL commands on 18.04
>> 
>> Regards
>> Shashi
>> 
>> 
>> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#8771): https://lists.fd.io/g/vpp-dev/message/8771
View All Messages In Topic (6): https://lists.fd.io/g/vpp-dev/topic/16737649
Mute This Topic: https://lists.fd.io/mt/16737649/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to