[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Is unmodified_drivers broken?
All, I tried to compile unmodified drivers on the latest changeset (14631). The compile breaks. This is what I did. I booted up a x86_64 hvm domain that was running sles 10, I copied the entire xen-unstable tree into the domain. Then, I went into the unmodified_drivers directory and ran mkbuildtree and make -C /usr/src/linux M=$PWD V=1 modules . I have posted the results. - Have others seen this issue? - Is this because of some kind of mess up where the /usr/src/linux/include/xen directory is clashing with the local include/xen directory? Looking at the overrides.mk file, it does seem like the local directory is getting included first. Thanks Raj sles10x64gmc:~ # cd xen-unstable.hg/ sles10x64gmc:~/xen-unstable.hg # cd unmodified_drivers/ sles10x64gmc:~/xen-unstable.hg/unmodified_drivers # cd linux-2.6/ sles10x64gmc:~/xen-unstable.hg/unmodified_drivers/linux-2.6 # ./mkbuildtree Defaulting to this machine's architecture, x86_64, for linking. This may be overridden on the command line (i386,x86_64,ia64). sles10x64gmc:~/xen-unstable.hg/unmodified_drivers/linux-2.6 # make -C /usr/src/linux M=$PWD V=1 modules make: Entering directory `/usr/src/linux-2.6.16.21-0.8' rm -rf /root/xen-unstable.hg/unmodified_drivers/linux-2.6/.tmp_versions mkdir -p /root/xen-unstable.hg/unmodified_drivers/linux-2.6/.tmp_versions make -f scripts/Makefile.build obj=/root/xen-unstable.hg/unmodified_drivers/linux-2.6 make -f scripts/Makefile.build obj=/root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront gcc -Wp,-MD,/root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/.blk front.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.1.0/include -D__KERNEL__ -Iincl ude -include /usr/src/linux-2.6.16.21-0.8/include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasi ng -fno-common -ffreestanding -Os -fomit-frame-pointer -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-u nwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement -Wno-pointer-sign -D__XEN_INTERFACE_VERSION__=0x00030202 -I/root/xen-unstab le.hg/unmodified_drivers/linux-2.6/include -I/root/xen-unstable.hg/unmodified_drivers/linux-2.6/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H -include /usr/src/linux-2.6.16.21- 0.8/include/linux/autoconf.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(blkfront)" -D"KBUILD_MODNAME=KBUILD_STR(xen_vbd)" -c -o /root/xen-unstable.hg/unmod ified_drivers/linux-2.6/blkfront/.tmp_blkfront.o /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c In file included from include/xen/interface/xen.h:439, from include/asm-i386/mach-xen/asm/hypervisor.h:41, from /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hyperviso r.h:2, from /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/block.h:49, from /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:3 9: include/xen/interface/xen-compat.h:23:2: error: #error "These header files do not support the requested interface version." In file included from include/asm-i386/mach-xen/asm/hypervisor.h:110, from /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hyperviso r.h:2, from /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/block.h:49, from /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:3 9: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypercall .h:208: warning: #struct xen_platform_op# declared inside parameter list /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypercall .h:208: warning: its scope is only this definition or declaration, which is probably not what you want /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypercall .h: In function #HYPERVISOR_platform_op#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypercall .h:210: error: dereferencing pointer to incomplete type /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypercall .h:210: error: #XENPF_INTERFACE_VERSION# undeclared (first use in this function) /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypercall .h:210: error: (Each undeclared identifier is reported only once /root/xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypercall .h:210: error: for each function it appears in.) In file included from /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:4 4: include/xen/evtchn.h: In function #notify_remote_via_evtchn#: include/xen/evtchn.h:107: warning: passing argument 1 of #HYPERVISOR_event_channel_op# makes integer from pointer without a cast include/xen/evtchn.h:107: error: too few arguments to function #HYPERVISOR_event_channel_op# /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #blkfront_probe#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:9 2: error: #XBT_NIL# undeclared (first use in this function) /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #talk_to_backend#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:1 57: error: storage size of #xbt# isn#t known /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:1 79: error: implicit declaration of function #irq_to_evtchn_port# /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:1 57: warning: unused variable #xbt# /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #setup_blkring#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:2 38: error: implicit declaration of function #bind_listening_port_to_irqhandler# /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: At top level: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:2 58: warning: #enum xenbus_state# declared inside parameter list /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:2 58: error: parameter 2 (#backend_state#) has incomplete type /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #connect#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:3 23: error: #XBT_NIL# undeclared (first use in this function) /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #blkfront_closing#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:3 88: error: implicit declaration of function #xenbus_frontend_closed# /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #blkif_release#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:4 76: error: variable #state# has initializer but incomplete type /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:4 76: error: storage size of #state# isn#t known /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:4 76: warning: unused variable #state# /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #blkif_queue_request#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:5 97: error: #BLKIF_OP_WRITE_BARRIER# undeclared (first use in this function) /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #blkif_int#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:7 22: error: #BLKIF_OP_WRITE_BARRIER# undeclared (first use in this function) /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:7 23: error: #BLKIF_RSP_EOPNOTSUPP# undeclared (first use in this function) /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function #xlblk_init#: /root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:8 87: error: implicit declaration of function #is_running_on_xen# make[2]: *** [/root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.o] Error 1 make[1]: *** [/root/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront] Error 2 make: *** [_module_/root/xen-unstable.hg/unmodified_drivers/linux-2.6] Error 2 make: Leaving directory `/usr/src/linux-2.6.16.21-0.8' _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |