PowerPC64-be arch support. Qemu ("qppc") platform support.
[vpp.git] / vpp / app / version.c
index 8a91c85..afd1e4a 100644 (file)
  */
 #include <vlib/vlib.h>
 #include <app/version.h>
+
+#if DPDK > 0
 #include <rte_version.h>
+#endif /* DPDK */
 
 static char * vpe_version_string = 
     "vpp v" VPP_BUILD_VER 
@@ -47,7 +50,9 @@ show_vpe_version_command_fn (vlib_main_t * vm,
   if (unformat (input, "verbose")){
      vlib_cli_output (vm, "%s", vpe_dir_string);
      vlib_cli_output (vm, "%s", vpe_compiler);
+#if DPDK > 0
      vlib_cli_output (vm, "DPDK version is %s", rte_version());
+#endif
   }
   return 0;
 }