Subject: Re: Current kernel does not compile since pmap update
To: Ian Dall <ian@beware.dropbear.id.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-pc532
Date: 06/25/1999 08:39:55
On Sat, 26 Jun 1999 00:30:15 +0930 (CST)
Ian Dall <ian@beware.dropbear.id.au> wrote:
> Since a recent update of pmap.c and pmap.h I can no longer build a kernel.
> First it dies due to warnings (treated as errors) about missing prototypes
> for pmap_change_wiring and pmap_pageable. When I add these prototypes
> I get an undefined symbol message:
>
> ld -z -Ttext F8002000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
> ../../../../uvm/uvm_fault.c:1833: Undefined symbol `_pmap_unwire' referenced from text segment
>
> I am guessing pmap_wire should be a macro wrapper for pmap_change_wiring.
No, actually, I changed all of the pmaps. pmap_change_wiring() no longer
exists.
I think your sources are somehow out of sync; I deleted the ns32532 pmap.new.h
myself...
> In passing I notice that we have too identical files pmap_new.h and pmap.h.
> It there any need or point in maintaining two identical files.. I notice that
> both these are included even though the
>
> #ifndef _NS532_PMAP_H_
> #define _NS532_PMAP_H_
>
> in each of them guarantees that only the forst one has any effect.
>
> Likewise I notice that we have two files, pmap.c and pmap.new.c and that
> pmap.c is actually newer than pmap.new.c!
Right, somehow your sup is screwed up...
-- Jason R. Thorpe <thorpej@nas.nasa.gov>