Subject: compile failed
To: None <port-sparc@netbsd.org>
From: None <ks@ub.uni-mainz.de>
List: current-users
Date: 03/25/1999 14:42:05
hi,

just tried to compile a current kernel (sources supped this morning)
on my ss20 and got the following:

sh ../../../../kern/genassym.sh cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-main -mno-fpu -I. -I../../../../arch -I../../../.. -nostdinc -DSUN4M -DBLINK -DRASTERCONSOLE -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL   < ../../../../arch/sparc/sparc/genassym.cf > assym.h.tmp &&  mv -f assym.h.tmp assym.h
/tmp/4766.c: In function `f119':
/tmp/4766.c:55: dereferencing pointer to incomplete type
/tmp/4766.c:56: dereferencing pointer to incomplete type
/tmp/4766.c:57: dereferencing pointer to incomplete type

this is due to UVM not beeing defined anymore! I "fixed" this by
uncommenting the ifdef UVM lines and the !UVM case....

just to get this one:

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-main -mno-fpu -I. -I../../../../arch -I../../../.. -nostdinc -DSUN4M -DBLINK -DRASTERCONSOLE -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL  -c ../../../../arch/sparc/sparc/iommu.c
cc1: warnings being treated as errors
../../../../arch/sparc/sparc/iommu.c: In function `iommu_dmamem_map':
../../../../arch/sparc/sparc/iommu.c:727: warning: implicit declaration of function `uvm_unmap'
*** Error code 1

Stop.

-kurt