NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Freshly checked out netbsd-5, compile error in src/sys/arch/xen/xen/hypervisor.c
I just fetched the netbsd-5 branch from the swedish CVS mirror.
Trying to build a release, I get
# compile XEN2_DOMU/hypervisor.o
/altroot1/usr/src/../build/tooldir/bin/i386--netbsdelf-gcc
-ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99
-fno-strict-al
iasing -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -W
cast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare
-Wno-pointer-sign -Wno-attributes -Werror -march=i686 -Di386 -I. -
I/altroot1/usr/build/objdir/sys/arch/i386/compile/XEN2_DOMU/xen-ma
-I/altroot1/usr/src/sys/../common/include -I/altroot1/usr/src/sys
/arch -I/altroot1/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG
-DCOMPAT_30_PTHREAD -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/altr
oot1/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/altroot1/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/al
troot1/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string
-I/altroot1/usr/src/sys/dist/ipf -c /altroot1/usr/src/sys/a
rch/xen/xen/hypervisor.c
cc1: warnings being treated as errors
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c: In function
'hypervisor_attach':
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:243: warning: implicit
declaration of function 'xenkernfs_init'
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c: At top level:
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:410: error: expected
'=', ',', ';', 'asm' or '__attribute__' before '*' token
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:414: warning: no
previous prototype for 'xenkernfs_init'
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:414: warning:
conflicting types for 'xenkernfs_init'
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:243: warning: previous
implicit declaration of 'xenkernfs_init' was here
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c: In function 'xenkernfs_init':
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:415: error:
'kernfs_entry_t' undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:415: error: (Each
undeclared identifier is reported only once
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:415: error: for each
function it appears in.)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:415: error: 'dkt'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:417: warning: implicit
declaration of function 'KERNFS_ALLOCENTRY'
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: warning: implicit
declaration of function 'KERNFS_INITENTRY'
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error: 'DT_DIR'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error:
'KFSsubdir' undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error: 'VDIR'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error: 'S_IRUSR'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error: 'S_IXUSR'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error: 'S_IRGRP'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error: 'S_IXGRP'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error: 'S_IROTH'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:418: error: 'S_IXOTH'
undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:419: warning: implicit
declaration of function 'kernfs_addentry'
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:420: error:
'kernxen_pkt' undeclared (first use in this function)
/altroot1/usr/src/sys/arch/xen/xen/hypervisor.c:420: warning: implicit
declaration of function 'KERNFS_ENTOPARENTDIR'
Any ideas?
/Lasse
Home |
Main Index |
Thread Index |
Old Index