Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 1995 18:28:30 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Chuck Robey <chuckr@glue.umd.edu>
Cc:        FreeBSD-current@FreeBSD.org
Subject:   Re: sbin/savecore
Message-ID:  <Pine.BSF.3.91.951211182802.4687A-100000@hub.org>
In-Reply-To: <Pine.SUN.3.91.951211163424.11165A-100000@cappuccino.eng.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Dec 1995, Chuck Robey wrote:

> I can't get this to build, and I can't find any reference to pt_entry_t
> or NKPDE anywheres.  Here's the error message:
>

news> grep pt_entry_t machine/pmap.h
typedef unsigned int *pt_entry_t;
#define PTESIZE         sizeof(pt_entry_t) /* for assembly files */
extern pt_entry_t PTmap[], APTmap[], Upte;
extern pt_entry_t *CMAP1;
pt_entry_t * __pure pmap_pte __P((pmap_t, vm_offset_t)) __pure2;
n

	Haven't looked into it further then that yet though...



> ROOT:/usr/src/sbin/savecore:1025 >make
> cc -O   -c /usr/src/sbin/savecore/savecore.c
> /usr/src/sbin/savecore/savecore.c: In function `check_kmem':
> /usr/src/sbin/savecore/savecore.c:276: `NKPDE' undeclared (first use this 
> function)
> /usr/src/sbin/savecore/savecore.c:276: (Each undeclared identifier is 
> reported only once
> /usr/src/sbin/savecore/savecore.c:276: for each function it appears in.)
> /usr/src/sbin/savecore/savecore.c:276: `pt_entry_t' undeclared (first use 
> this function)
> /usr/src/sbin/savecore/savecore.c: In function `clear_dump':
> /usr/src/sbin/savecore/savecore.c:301: `NKPDE' undeclared (first use this 
> function)
> /usr/src/sbin/savecore/savecore.c:301: `pt_entry_t' undeclared (first use 
> this function)
> /usr/src/sbin/savecore/savecore.c: In function `dump_exists':
> /usr/src/sbin/savecore/savecore.c:310: `NKPDE' undeclared (first use this 
> function)
> /usr/src/sbin/savecore/savecore.c:310: `pt_entry_t' undeclared (first use 
> this function)
> /usr/src/sbin/savecore/savecore.c: In function `save_core':
> /usr/src/sbin/savecore/savecore.c:372: `NKPDE' undeclared (first use this 
> function)
> /usr/src/sbin/savecore/savecore.c:372: `pt_entry_t' undeclared (first use 
> this function)
> /usr/src/sbin/savecore/savecore.c: In function `get_crashtime':
> /usr/src/sbin/savecore/savecore.c:513: `NKPDE' undeclared (first use this 
> function)
> /usr/src/sbin/savecore/savecore.c:513: `pt_entry_t' undeclared (first use 
> this function)
> *** Error code 1
> 
> Huh?
> 
> ============================================================================
> Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2
> ---------------------------------------------------------------------------
> The Dilbert Zone is Dilbert's new WWW home! The area
> features never-before-seen original sketches of Dilbert, a photo tour
> of Scott Adams' studio, Dilbert Trivia and memorabilia, high
> school photos and much more!:
> <URL:http://www.unitedmedia.com/comics/dilbert/>;
> 

Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
scrappy@hub.org  |  WWW Services   Database Services  | Knowledge, 
 soon to be:     |                                    | Information and
scrappy@ki.net   |      WWW: http://hub.org           | Communications, Inc




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951211182802.4687A-100000>