lkcd
[Top] [All Lists]

Re: new problem: can't see vmdump.h?

To: Matt Robinson <yakker@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: new problem: can't see vmdump.h?
From: Matt Robinson <yakker@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Dec 1999 15:42:55 -0800 (PST)
Cc: Brian Hall <brianw.hall@xxxxxxxxxx>, lkcd@xxxxxxxxxxx
In-reply-to: <Pine.SGI.3.94.991222094621.329897A-100000@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
On Wed, 22 Dec 1999, Matt Robinson wrote:
|>Change the header for vmdump.c in the kernel directory, to the same
|>thing for the <linux/vmdump.h> file.  That should eliminate your
|>problem.

To clarify, it would be:

#ifndef CONFIG_VMDUMP
#define CONFIG_VMDUMP
#include <linux/vmdump.h>
#endif

And change kernel/Makefile so that vmdump.o isn't on the O_OBJS build
line (at the top of the file), and instead you have:

ifeq ($(CONFIG_VMDUMP,y)
O_OBJS += vmdump.o
endif

Thanks, Brian, let me know how it goes.

--Matt

P.S.  When you get to cmd/lcrash, remember to build with the following
      arguments:

          make TOPDIR=<top of kernel tree> ARCH=<architecture>

      So, in my case, it'd be:

          make TOPDIR=/usr/src/linux ARCH=i386



<Prev in Thread] Current Thread [Next in Thread>