Also latest vpp from git without including vppsb

Sep 17 16:28:02 ubuntu systemd[1]: vpp.service: Service hold-off time over, scheduling restart.
Sep 17 16:28:02 ubuntu systemd[1]: Stopped vector packet processing engine.
Sep 17 16:28:02 ubuntu systemd[1]: Starting vector packet processing engine...
Sep 17 16:28:02 ubuntu systemd[1]: Started vector packet processing engine.
Sep 17 16:28:02 ubuntu vpp[1557]: vlib_plugin_early_init:356: plugin path /usr/lib/vpp_plugins Sep 17 16:28:02 ubuntu vpp[1557]: load_one_plugin:184: Loaded plugin: acl_plugin.so (Access Control Lists) Sep 17 16:28:02 ubuntu vpp[1557]: load_one_plugin:142: /usr/lib/vpp_plugins/dpdk_plugin.so: undefined symbol: aes_gcm_enc_128_sse Sep 17 16:28:02 ubuntu vpp[1557]: load_one_plugin:143: Failed to load plugin 'dpdk_plugin.so' Sep 17 16:28:02 ubuntu systemd[1]: vpp.service: Main process exited, code=dumped, status=6/ABRT
Sep 17 16:28:02 ubuntu systemd[1]: vpp.service: Unit entered failed state.
Sep 17 16:28:02 ubuntu systemd[1]: vpp.service: Failed with result 'core-dump'. Sep 17 16:28:02 ubuntu systemd[1]: vpp.service: Service hold-off time over, scheduling restart.
Sep 17 16:28:02 ubuntu systemd[1]: Stopped vector packet processing engine.
Sep 17 16:28:02 ubuntu systemd[1]: Starting vector packet processing engine...
Sep 17 16:28:02 ubuntu systemd[1]: Started vector packet processing engine.
Sep 17 16:28:02 ubuntu vpp[1597]: vlib_plugin_early_init:356: plugin path /usr/lib/vpp_plugins Sep 17 16:28:02 ubuntu vpp[1597]: load_one_plugin:184: Loaded plugin: acl_plugin.so (Access Control Lists) Sep 17 16:28:02 ubuntu vpp[1597]: load_one_plugin:142: /usr/lib/vpp_plugins/dpdk_plugin.so: undefined symbol: aes_gcm_enc_128_sse Sep 17 16:28:02 ubuntu vpp[1597]: load_one_plugin:143: Failed to load plugin 'dpdk_plugin.so' Sep 17 16:28:02 ubuntu systemd[1]: vpp.service: Main process exited, code=dumped, status=6/ABRT
Sep 17 16:28:02 ubuntu systemd[1]: vpp.service: Unit entered failed state.
Sep 17 16:28:02 ubuntu systemd[1]: vpp.service: Failed with result 'core-dump'. Sep 17 16:28:03 ubuntu systemd[1]: vpp.service: Service hold-off time over, scheduling restart.
Sep 17 16:28:03 ubuntu systemd[1]: Stopped vector packet processing engine.
Sep 17 16:28:03 ubuntu systemd[1]: vpp.service: Start request repeated too quickly. Sep 17 16:28:03 ubuntu systemd[1]: Failed to start vector packet processing engine.
Sep 17 16:28:03 ubuntu systemd[1]: vpp.service: Unit entered failed state.
Sep 17 16:28:03 ubuntu systemd[1]: vpp.service: Failed with result 'start-limit-hit'.



W dniu 2017-09-17 o 15:51, Paweł Staszewski pisze:
Hi just get the latest git:

cd /

git clonehttps://gerrit.fd.io/r/vpp

git clonehttps://gerrit.fd.io/r/vppsb


$ cd /vpp
$ ln -sf /vppsb/netlink
$ ln -sf /vppsb/router
$ ln -sf ../../netlink/netlink.mk build-data/packages/
$ ln -sf ../../router/router.mk build-data/packages/

$ cd build-root
$ ./bootstrap.sh
$ make V=0 PLATFORM=vpp TAG=vpp_debug router-install

And:

make V=0 PLATFORM=vpp TAG=vpp_debug router-install
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for router @@@@
@@@@ Makefile fragment found in /vpp/build-data/packages/router.mk @@@@
@@@@ Source found in /vpp/router @@@@
@@@@ Configuring router: nothing to do @@@@
@@@@ 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
  CC       router/tap_inject_node.lo
/vpp/build-data/../router/router/tap_inject_node.c:34:1: error: unknown type name ‘dpo_type_t’
 dpo_type_t tap_inject_dpo_type;
 ^~~~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:323:22: error: unknown type name ‘dpo_id_t’
 tap_inject_dpo_lock (dpo_id_t * dpo)
                      ^~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:331:24: error: unknown type name ‘dpo_id_t’
 tap_inject_dpo_unlock (dpo_id_t * dpo)
                        ^~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:341:14: error: unknown type name ‘dpo_vft_t’
 const static dpo_vft_t tap_inject_vft = {
              ^~~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:342:3: error: field name not in record or union initializer
   .dv_lock = tap_inject_dpo_lock,
   ^
/vpp/build-data/../router/router/tap_inject_node.c:342:3: note: (near initialization for ‘tap_inject_vft’) /vpp/build-data/../router/router/tap_inject_node.c:342:14: error: ‘tap_inject_dpo_lock’ undeclared here (not in a function)
   .dv_lock = tap_inject_dpo_lock,
              ^~~~~~~~~~~~~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:343:3: error: field name not in record or union initializer
   .dv_unlock = tap_inject_dpo_unlock,
   ^
/vpp/build-data/../router/router/tap_inject_node.c:343:3: note: (near initialization for ‘tap_inject_vft’) /vpp/build-data/../router/router/tap_inject_node.c:343:16: error: ‘tap_inject_dpo_unlock’ undeclared here (not in a function)
   .dv_unlock = tap_inject_dpo_unlock,
                ^~~~~~~~~~~~~~~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:343:16: error: excess elements in scalar initializer [-Werror] /vpp/build-data/../router/router/tap_inject_node.c:343:16: note: (near initialization for ‘tap_inject_vft’) /vpp/build-data/../router/router/tap_inject_node.c:344:3: error: field name not in record or union initializer
   .dv_format = format_tap_inject_dpo,
   ^
/vpp/build-data/../router/router/tap_inject_node.c:344:3: note: (near initialization for ‘tap_inject_vft’) /vpp/build-data/../router/router/tap_inject_node.c:344:16: error: excess elements in scalar initializer [-Werror]
   .dv_format = format_tap_inject_dpo,
                ^~~~~~~~~~~~~~~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:344:16: note: (near initialization for ‘tap_inject_vft’) /vpp/build-data/../router/router/tap_inject_node.c:352:50: error: ‘DPO_PROTO_NUM’ undeclared here (not in a function)
 const static char *const *const tap_inject_nodes[DPO_PROTO_NUM] = {
                                                  ^~~~~~~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:353:4: error: ‘DPO_PROTO_IP6’ undeclared here (not in a function)
   [DPO_PROTO_IP6] = tap_inject_tx_nodes,
    ^~~~~~~~~~~~~
/vpp/build-data/../router/router/tap_inject_node.c:353:4: error: array index in initializer not of integer type /vpp/build-data/../router/router/tap_inject_node.c:353:4: note: (near initialization for ‘tap_inject_nodes’) /vpp/build-data/../router/router/tap_inject_node.c: In function ‘tap_inject_init’: /vpp/build-data/../router/router/tap_inject_node.c:365:25: error: implicit declaration of function ‘dpo_register_new_type’ [-Werror=implicit-function-declaration]    tap_inject_dpo_type = dpo_register_new_type (&tap_inject_vft, tap_inject_nodes);
                         ^~~~~~~~~~~~~~~~~~~~~
At top level:
/vpp/build-data/../router/router/tap_inject_node.c:352:33: error: ‘tap_inject_nodes’ defined but not used [-Werror=unused-variable]
 const static char *const *const tap_inject_nodes[DPO_PROTO_NUM] = {
                                 ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:476: recipe for target 'router/tap_inject_node.lo' failed
make[1]: *** [router/tap_inject_node.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
/vpp/build-data/../router/router/tap_inject.c:24:26: fatal error: vnet/fib/fib.h: No such file or directory
 #include <vnet/fib/fib.h>
                          ^
compilation terminated.
Makefile:476: recipe for target 'router/tap_inject.lo' failed
make[1]: *** [router/tap_inject.lo] Error 1
In file included from /vpp/build-data/../router/router/tap_inject_netlink.c:19:0: /vppsb/netlink/librtnl/netns.h:26:26: fatal error: librtnl/rtnl.h: No such file or directory
 #include <librtnl/rtnl.h>
                          ^
compilation terminated.
Makefile:476: recipe for target 'router/tap_inject_netlink.lo' failed
make[1]: *** [router/tap_inject_netlink.lo] Error 1
make[1]: Leaving directory '/vpp/build-root/build-vpp_debug-native/router'
Makefile:698: recipe for target 'router-build' failed
make: *** [router-build] Error 2

_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to