Subject: BUILD failure - port i386 - kernel XEN3_DOMU - xenbus_client.c
To: None <current-users@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 03/14/2007 04:06:05
>From sources updated via CVS on Wed Mar 14 03:20:04 PDT 2007 (UTC-0700)
# compile XEN3_DOMU/xenbus_client.o
/usr/obj/tooldir/x86_64/i386/bin/i386--netbsdelf-gcc -ffreestanding -fno-zero-initialized-in-bss -march=i686 -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 -fno-strict-aliasing -Di386 -I. -I/usr/obj/objdir/i386/sys/arch/i386/compile/XEN3_DOMU/xen-ma -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMAXPHYS=32768 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string -I/usr/src/sys/dist/ipf -c /usr/src/sys/arch/xen/xenbus/xenbus_client.c
cc1: warnings being treated as errors
In file included from /usr/src/sys/arch/xen/xenbus/xenbus_client.c:49:
./machine/evtchn.h:43: warning: 'struct intrframe' declared inside parameter list
./machine/evtchn.h:43: warning: its scope is only this definition or declaration, which is probably not what you want
./machine/evtchn.h:44: warning: 'struct intrframe' declared inside parameter list
In file included from /usr/src/sys/arch/xen/xenbus/xenbus_client.c:50:
./machine/xenbus.h:225: error: expected declaration specifiers or '...' before 'grant_ref_t'
In file included from ./machine/granttables.h:33,
from /usr/src/sys/arch/xen/xenbus/xenbus_client.c:51:
./machine/xen3-public/grant_table.h:79: error: expected specifier-qualifier-list before 'domid_t'
./machine/xen3-public/grant_table.h:165: error: expected specifier-qualifier-list before 'domid_t'
./machine/xen3-public/grant_table.h:171: warning: data definition has no type or storage class
./machine/xen3-public/grant_table.h:171: warning: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:193: warning: data definition has no type or storage class
./machine/xen3-public/grant_table.h:193: warning: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:193: error: conflicting types for 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:171: error: previous declaration of 'DEFINE_GUEST_HANDLE' was here
./machine/xen3-public/grant_table.h:207: error: expected specifier-qualifier-list before 'domid_t'
./machine/xen3-public/grant_table.h:213: warning: data definition has no type or storage class
./machine/xen3-public/grant_table.h:213: warning: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:213: error: conflicting types for 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:171: error: previous declaration of 'DEFINE_GUEST_HANDLE' was here
./machine/xen3-public/grant_table.h:222: error: expected specifier-qualifier-list before 'domid_t'
./machine/xen3-public/grant_table.h:226: warning: data definition has no type or storage class
./machine/xen3-public/grant_table.h:226: warning: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:226: error: conflicting types for 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:171: error: previous declaration of 'DEFINE_GUEST_HANDLE' was here
./machine/xen3-public/grant_table.h:240: error: expected specifier-qualifier-list before 'domid_t'
./machine/xen3-public/grant_table.h:245: warning: data definition has no type or storage class
./machine/xen3-public/grant_table.h:245: warning: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:245: error: conflicting types for 'DEFINE_GUEST_HANDLE'
./machine/xen3-public/grant_table.h:171: error: previous declaration of 'DEFINE_GUEST_HANDLE' was here
In file included from /usr/src/sys/arch/xen/xenbus/xenbus_client.c:51:
./machine/granttables.h:44: error: expected ')' before 'paddr_t'
./machine/granttables.h:53: error: expected ')' before 'grant_ref_t'
/usr/src/sys/arch/xen/xenbus/xenbus_client.c: In function '_dev_error':
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:180: warning: implicit declaration of function 'printk'
/usr/src/sys/arch/xen/xenbus/xenbus_client.c: At top level:
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:228: error: conflicting types for 'xenbus_grant_ring'
./machine/xenbus.h:225: error: previous declaration of 'xenbus_grant_ring' was here
/usr/src/sys/arch/xen/xenbus/xenbus_client.c: In function 'xenbus_grant_ring':
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:229: warning: implicit declaration of function 'xengnt_grant_access'
/usr/src/sys/arch/xen/xenbus/xenbus_client.c: In function 'xenbus_alloc_evtchn':
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:240: error: 'evtchn_op_t' undeclared (first use in this function)
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:240: error: (Each undeclared identifier is reported only once
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:240: error: for each function it appears in.)
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:240: error: expected ';' before 'op'
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:245: warning: implicit declaration of function 'HYPERVISOR_event_channel_op'
/usr/src/sys/arch/xen/xenbus/xenbus_client.c:245: error: 'op' undeclared (first use in this function)
*** [xenbus_client.o] Error code 1
1 error
nbmake: stopped in /usr/obj/objdir/i386/sys/arch/i386/compile/XEN3_DOMU
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | FA29 0E3B 35AF E8AE 6651 | paul@whooppee.com |
| | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------