Subject: netbsd-4 build problems on i386/i386
To: None <>
From: Chris Ross <>
List: current-users
Date: 06/06/2007 16:17:01
   After updating to the top of the netbsd-4 branch today, the  
" release" fails while trying to build GENERIC_LAPTOP.   
Something in coda may need to be changed as a result of the pull-up  
that just happened for some LFS improvements (recorded in the CVS log  
of sys/miscfs/genfs/genfs.h as ticket #703).  This is building on an  
i386, for an i386.

   The addition of the prototype for genfs_do_putpages() in sys/ 
miscfs/genfs/genfs.h causes the following error during the build:

#   compile  GENERIC_LAPTOP/coda_vnops.o
i386/bin/i386--netbsdelf-gcc -ffreestanding -fno-zero-initialized-in- 
bss -march=i486 -mtune=pentiumpro -O2 -Werror -Wall -Wno-main -Wno- 
format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict- 
prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign- 
compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused- 
parameter -fno-strict-aliasing -Di386 -I. -I/data/NetBSD/src-4/sys/ 
contrib/dev/ath/netbsd -I/data/NetBSD/src-4/sys/../common/include -I/ 
data/NetBSD/src-4/sys/arch -I/data/NetBSD/src-4/sys -nostdinc -DLKM - 
DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/data/NetBSD/src-4/sys/lib/ 
libkern/../../../common/lib/libc/quad -I/data/NetBSD/src-4/sys/lib/ 
libkern/../../../common/lib/libc/string -I/data/NetBSD/src-4/sys/lib/ 
libkern/../../../common/lib/libc/arch/i386/string -I/data/NetBSD/ 
src-4/sys/dist/ipf -c /data/NetBSD/src-4/sys/coda/coda_vnops.c
cc1: warnings being treated as errors
In file included from /data/NetBSD/src-4/sys/coda/coda_vnops.c:66:
/data/NetBSD/src-4/sys/miscfs/genfs/genfs.h:30: warning: 'struct  
vm_page' declared inside parameter list
/data/NetBSD/src-4/sys/miscfs/genfs/genfs.h:30: warning: its scope is  
only this definition or declaration, which is probably not what you want
*** [coda_vnops.o] Error code 1
1 error


                           - Chris