Subject: Re: errors in make
To: Dirk Beckmann <dirk@sqeezer.net>
From: Paul Goyette <paul@whooppee.com>
List: tech-smp
Date: 03/11/2002 15:49:49
The pool ABI was changed recently, bumping kernel version to 1.5ZB.

I don't think Bill has gotten around to synching the MP code up with
these most recent changes.  So you'll probably have to wait, and watch
for Bill's next set of commits.

On Mon, 11 Mar 2002, Dirk Beckmann wrote:

> Hi,
>
> i tried to compile the generic.mp in the last days, but i could not make the kernel.
> what i did:
>
> cd /usr
> export CVSROOT=:pserver:anoncvs@anoncvs.netbsd.org:/cvsroot
> cvs login
> cvs get syssrc/
> cd /usr/syssrc/sys/arch/i386
> cvs update -rsommerfeld_i386mp_1
>
> what i get while make:
> # make
> cc  -ffreestanding  -O2 -Werror -Wall -Wno-main -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Di386 -I.  -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c ../../../../arch/i386/i386/pmap.c
> ../../../../arch/i386/i386/pmap.c: In function `pmap_bootstrap':
> ../../../../arch/i386/i386/pmap.c:1010: `pool_page_alloc_nointr' undeclared (first use in this function)
> ../../../../arch/i386/i386/pmap.c:1010: (Each undeclared identifier is reported only once
> ../../../../arch/i386/i386/pmap.c:1010: for each function it appears in.)
> ../../../../arch/i386/i386/pmap.c:1010: `pool_page_free_nointr' undeclared (first use in this function)
> ../../../../arch/i386/i386/pmap.c:1010: too many arguments to function `pool_init'
> ../../../../arch/i386/i386/pmap.c:1020: `PR_STATIC' undeclared (first use in this function)
> ../../../../arch/i386/i386/pmap.c:1022: too many arguments to function `pool_init'
> ../../../../arch/i386/i386/pmap.c:1032: too many arguments to function `pool_init'
> ../../../../arch/i386/i386/pmap.c: In function `pmap_init':
> ../../../../arch/i386/i386/pmap.c:1131: structure has no member named `pr_pagesz'
> *** Error code 1
>
> Stop.
> #
>
> any idears what goning wrong?
> has anybody managed to make the whole thing?
> is there any offical(!) download source for generic smp kernels, like ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/mptest/ ?
>
> thanx
>
>  Dirk Beckmann
>
>
>

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | 9DC5 05CF 1AE7 DC42 CCC6 |  paul@whooppee.com   |
|  & World Cruiser | 6858 051E 7AD2 A6B2 4954 | pgoyette@juniper.net |
----------------------------------------------------------------------