Subject: errors in make
To: None <tech-smp@netbsd.org>
From: Dirk Beckmann <dirk@sqeezer.net>
List: tech-smp
Date: 03/11/2002 00:39:17
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