Signed-off-by: HATAYAMA Daisuke <[email protected]>
---

 makedumpfile.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/makedumpfile.c b/makedumpfile.c
index 14fd9f6..a47a3ec 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -2538,6 +2538,15 @@ initial(void)
        }
 #endif
 
+#ifndef USESNAPPY
+       if (info->flag_compress == DUMP_DH_COMPRESSED_SNAPPY) {
+               MSG("'-p' option is disabled, ");
+               MSG("because this binary doesn't support snappy "
+                   "compression.\n");
+               MSG("Try `make USESNAPPY=on` when building.\n");
+       }
+#endif
+
        if (!is_xen_memory() && info->flag_exclude_xen_dom) {
                MSG("'-X' option is disable,");
                MSG("because %s is not Xen's memory core image.\n", 
info->name_memory);

--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility

Reply via email to