Hi guys,
I have submitted a patch to fix the build issue in VPPSB project:
https://gerrit.fd.io/r/#/c/15135/ Fix build issue due to vpp's function
parameters change
I have tested it and it works well in my server.
Thanks,
Hongjun
-Original Message-
From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of carlito
nueno
Sent: Friday, September 28, 2018 9:45 AM
To: memarnejad...@gmail.com
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Unable to build router plugin
Thanks for the tip Mehran. I will take a look and report back.
On Thu, Sep 27, 2018 at 12:16 AM Mehran Memarnejad
wrote:
>
> Hi carlito,
>
> I've had problems muck like yours. Sometimes VPP updates its functions while
> vppsb is still the same, so you need to change it to make it work.
> In my problem I just updated the vppsb's outdated function to the new one and
> it worked.
> As you know, vppsb is a plugin for vpp and it calls vpp's functions,
> so any change in vpp's function affects vppsb e.g. function singnature
> change
>
>
> On Thursday, September 27, 2018, carlito nueno wrote:
>>
>> Hi all,
>>
>> I am trying to build the router-plugin:
>> make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install
>> router-install
>>
>> I am using the Vagrantfile present in vpp repo and am pulling the
>> current master (as of September 26 2018). I am also pulling the
>> current master of vppsb.
>>
>> But I am getting this error:
>>
>> Building router in /vpp/build-root/build-vpp_debug-native/router
>>
>> make[1]: Entering directory '/vpp/build-root/build-vpp_debug-native/router'
>> CC router/tap_inject.lo
>> CC router/tap_inject_netlink.lo
>> /vpp/build-data/../router/router/tap_inject_netlink.c: In function
>> ‘add_del_neigh’:
>> /vpp/build-data/../router/router/tap_inject_netlink.c:140:9: error:
>> too many arguments to function ‘vnet_unset_ip6_ethernet_neighbor’
>> vnet_unset_ip6_ethernet_neighbor (vm, sw_if_index,
>> ^~~~ In file included from
>> /vpp/build-data/../router/router/tap_inject_netlink.c:19:0:
>> /vpp/build-root/install-vpp_debug-native/vpp/include/vnet/ip/ip6_neighbor.h:84:12:
>> note: declared here
>> extern int vnet_unset_ip6_ethernet_neighbor (vlib_main_t * vm,
>> ^~~~
>> Makefile:483: recipe for target 'router/tap_inject_netlink.lo' failed
>> make[1]: *** [router/tap_inject_netlink.lo] Error 1
>> make[1]: *** Waiting for unfinished jobs
>> make[1]: Leaving directory '/vpp/build-root/build-vpp_debug-native/router'
>> Makefile:691: recipe for target 'router-build' failed
>> make: *** [router-build] Error 2
>>
>> Any advice?
>>
>> Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10765): https://lists.fd.io/g/vpp-dev/message/10765
Mute This Topic: https://lists.fd.io/mt/26280661/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-