On 02/14/2013 10:07 AM, Atsushi Kumagai wrote: > Hello, > > makedumpfile version 1.5.2 is released. > Your comments/patches are welcome. Hi, ppc64 build fails with "undefined reference to readpage_sadump". Below patch fixes this, but feel free to fix it without the #if in other way. diff -uprN makedumpfile/makedumpfile.c makedumpfile.new/makedumpfile.c --- makedumpfile/makedumpfile.c 2013-02-16 17:58:58.158576503 +0800 +++ makedumpfile.new/makedumpfile.c 2013-02-16 17:59:19.775577017 +0800 @@ -412,9 +412,11 @@ readmem(int type_addr, unsigned long lon if (info->flag_refiltering) { if (!readpage_kdump_compressed(pgaddr, pgbuf)) goto error; +#if defined(__x86__) || defined(__x86_64__) } else if (info->flag_sadump) { if (!readpage_sadump(pgaddr, pgbuf)) goto error; +#endif } else { if (!readpage_elf(pgaddr, pgbuf)) goto error;