Subject: Re: statfs -> statvfs changes
To: Christos Zoulas <>
From: Nicolas Joly <>
List: current-users
Date: 04/21/2004 13:10:36
On Tue, Apr 20, 2004 at 09:42:51PM -0400, Christos Zoulas wrote:
> Please make sure that you build and boot a new kernel
> before you build userland after the next cvs update (as usual).
> Please let me know if you find any problems.

While trying to compile a GENERIC amd64 kernel, i discovered some
compat_netbsd32 problems :

#   compile  GENERIC/netbsd32_netbsd.o
/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc -mcmodel=kernel -mno-red-zone -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Damd64 -Dx86_64 -I. -I/local/src/NetBSD/src/sys/arch -I/local/src/NetBSD/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_netbsd.c
In file included from /local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_netbsd.c:92:
/local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_conv.h: In function `netbsd32_from_statvfs':
/local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_conv.h:259: error: structure has no member named `f_type'
/local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_conv.h:260: error: structure has no member named `f_flags'
/local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_netbsd.c: In function `netbsd32_fhstatfs':
/local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_netbsd.c:2229: error: storage size of `ua' isn't known
/local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_netbsd.c:2233: warning: implicit declaration of function `sys_fhstatfs'
/local/src/NetBSD/src/sys/compat/netbsd32/netbsd32_netbsd.c:2229: warning: unused variable `ua'

Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.