Yea, the problem is the arch/<arch>/vmdump.h doesn't have
the appropriate __dump_??* functions defined. I've fixed
this in the SourceForge trees. The code is:
extern void __dump_open(struct file *, uint64_t);
extern void __dump_init(uint64_t);
extern int __dump_configure_header(dump_header_asm_t *, struct pt_regs
*);
I'll fix this either later today or tomorrow. I'm
surprised this didn't compile, though, since it was
patched and ran properly for me.
Let me know if this helps. You can also grab the
latest file from:
cvs.lkcd.sourceforge.net:/cvsroot/lkcd/{2.2,2.3,2.4}/include/asm-<arch>/vmdump.h
--Matt
rbharata@xxxxxxxxxx wrote:
>
> Hi,
> Some lkcd related functions are exported from kernel/ksyms.c, which
> cause undefined references when compiling as linux/vmdump.h is
> not included in this file.
>
> Regards,
> Bharata
>
> Bharata. B. Rao
> Linux Technology Center,
> IBM Global Services, Bangalore.
>
> E-mail : rbharata@xxxxxxxxxx
> Phone : 91-80-5262355, Extn : 2534.
|