[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Building unmodified_drivers fails in unstable x64 XEN


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Nowatzki, Thomas L" <Thomas.Nowatzki@xxxxxxxxxx>
  • Date: Thu, 9 Nov 2006 10:16:47 -0600
  • Delivery-date: Thu, 09 Nov 2006 08:17:12 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AccEGnRpxj+jGk1cRu+TA/wbkf4e1w==
  • Thread-topic: Building unmodified_drivers fails in unstable x64 XEN

Per the instructions in the README I am trying to build the paravirtualized drivers from unmodified_drivers.  However, it doesn't seem to work in the latest unstable XEN version.  I am running SLES10 x64 version.  Quite possibly I am doing the build incorrectly although it seems quite straight forward:


SLESx64:/xen-unstable.hg/unmodified_drivers/linux-2.6 # ./mkbuildtree x86_64
SLESx64:/xen-unstable.hg/unmodified_drivers/linux-2.6 # make -C /usr/src/linux  M=$PWD modules
make: Entering directory `/usr/src/linux-2.6.16.21-0.8'
Makefile:450: .config: No such file or directory

  WARNING: Symbol version dump /usr/src/linux-2.6.16.21-0.8/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.o
In file included from include/xen/interface/xen.h:439,
                 from include/asm-i386/mach-xen/asm/hypervisor.h:41,
                 from /xen-unstable.hg/unmodified_drivers/linux-2.6/include/asm/hypervisor.h:2,
                 from /xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/block.h:51,
                 from /xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:39:
include/xen/interface/xen-compat.h:23:2: error: #error "These header files do not support the requested interface version."

In file included from /xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:44:
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’
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function ‘blkfront_probe’:
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:91: error: ‘XBT_NIL’ undeclared (first use in this function)

/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:91: error: (Each undeclared identifier is reported only once

/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:91: error: for each function it appears in.)
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function ‘talk_to_backend’:
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:156: error: storage size of ‘xbt’ isn’t known
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:156: warning: unused variable ‘xbt’
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: At top level:
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:255: warning: ‘enum xenbus_state’ declared inside parameter list

/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:255: warning: its scope is only this definition or declaration, which is probably not what you want

/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:255: error: parameter 2 (‘backend_state’) has incomplete type

/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function ‘connect’:
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:311: error: ‘XBT_NIL’ undeclared (first use in this function)

/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function ‘blkfront_closing’:
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:369: error: implicit declaration of function ‘xenbus_frontend_closed’

/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function ‘blkif_release’:
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:457: error: variable ‘state’ has initializer but incomplete type

/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:457: error: storage size of ‘state’ isn’t known
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:457: warning: unused variable ‘state’
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c: In function ‘xlblk_init’:
/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.c:857: error: implicit declaration of function ‘is_running_on_xen’

make[2]: *** [/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront/blkfront.o] Error 1
make[1]: *** [/xen-unstable.hg/unmodified_drivers/linux-2.6/blkfront] Error 2
make: *** [_module_/xen-unstable.hg/unmodified_drivers/linux-2.6] Error 2
make: Leaving directory `/usr/src/linux-2.6.16.21-0.8'
SLESx64:/xen-unstable.hg/unmodified_drivers/linux-2.6 #

Regards,
Tom



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.