Dear All,
I am trying to build the latest VPP with router and netlink plugins on
CentOS 7.5. Here are the steps that I followed.
# cd /vpp
# ln -sf /vppsb/router/
# ln -sf /vppsb/netlink/
# ln -sf /vppsb/router/router.mk build-data/packages/
# ln -sf /vppsb/netlink/netlink.mk build-data/packages/
#
# make V=0 PLATFORM=vpp TAG=vpp_debug netlink-install router-install
The command fails with the following error:
make[1]: Entering directory `/vpp/build-root/build-vpp_debug-native/netlink'
CC librtnl/netns.lo
CC librtnl/rtnl.lo
/vpp/build-data/../netlink/librtnl/rtnl.c: In function 'rtnl_socket_open':
/vpp/build-data/../netlink/librtnl/rtnl.c:269:39: error:
'RTNLGRP_MPLS_ROUTE' undeclared (first use in this function)
grpmask(RTNLGRP_NOTIFY) | grpmask(RTNLGRP_MPLS_ROUTE),
^
/vpp/build-data/../netlink/librtnl/rtnl.c:269:39: note: each undeclared
identifier is reported only once for each function it appears in
/vpp/build-data/../netlink/librtnl/netns.c:69:5: error: 'RTA_VIA' undeclared
here (not in a function)
_(RTA_VIA, via, 1) \
^
/vpp/build-data/../netlink/librtnl/netns.c:82:13: note: in definition of
macro '_'
.type = t, .unique = u, \
^
/vpp/build-data/../netlink/librtnl/netns.c:86:3: note: in expansion of macro
'ns_foreach_rta'
ns_foreach_rta
^
make[1]: *** [librtnl/rtnl.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [librtnl/netns.lo] Error 1
make[1]: Leaving directory `/vpp/build-root/build-vpp_debug-native/netlink'
make: *** [netlink-build] Error 2
Can anyone help me with this? Or point me towards the versions of VPP and
VPPSB where they are working with each other.
Regards,
Alp Arslan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11067): https://lists.fd.io/g/vpp-dev/message/11067
Mute This Topic: https://lists.fd.io/mt/27825040/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-