Subject: Unable to build current (vinumio.h:80: error: field 'op' has
To: None <current-users@NetBSD.org>
From: Jan H. van Gils <janvg@vgnet.nl>
List: current-users
Date: 10/31/2006 08:14:18
Hi,

Thanks for reading.
I am trying to build current but keep on getting this error.

Anybody an idea howto fix this?


---- Error ----
#   compile  kdump/kdump-ioctl.o
/build/tools/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes
-Wmissing-pr
ototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type
-Wswit
ch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter 
-Werror
 -I/build/current/src/usr.bin/ktrace -I/build/current/src/sys  -nostdinc
-isyste
m /usr/include  -c    kdump-ioctl.c
In file included from kdump-ioctl.c:160:
/usr/include/dev/vinum/vinumio.h:80: error: field 'op' has incomplete type
/usr/include/dev/vinum/vinumio.h:101: error: 'MAXNAME' undeclared here
(not in a
 function)
kdump-ioctl.c: In function 'ioctlname':
kdump-ioctl.c:5354: error: invalid application of 'sizeof' to incomplete
type 's
truct __vinum_conf'
kdump-ioctl.c:5357: error: invalid application of 'sizeof' to incomplete
type 's
truct mc'
kdump-ioctl.c:5363: error: invalid application of 'sizeof' to incomplete
type 's
truct _drive'
kdump-ioctl.c:5378: error: invalid application of 'sizeof' to incomplete
type 's
truct _volume'
kdump-ioctl.c:5381: error: invalid application of 'sizeof' to incomplete
type 's
truct _sd'
kdump-ioctl.c:5384: error: invalid application of 'sizeof' to incomplete
type 's
truct _sd'
kdump-ioctl.c:5390: error: invalid application of 'sizeof' to incomplete
type 's
truct _plex'
kdump-ioctl.c:5393: error: invalid application of 'sizeof' to incomplete
type 's
truct meminfo'
kdump-ioctl.c:5399: error: invalid application of 'sizeof' to incomplete
type 's
truct drive_freelist'
*** Error code 1

Stop.
make: stopped in /build/current/src/usr.bin/kdump
*** Error code 1

---- Error ----

Grtz, Jan