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

Re: [Xen-users] compilation problems


  • To: Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Michael Kress <kress@xxxxxxxxxxx>
  • Date: Sat, 07 Oct 2006 09:14:08 +0200
  • Delivery-date: Sat, 07 Oct 2006 00:15:26 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello

I think I got the roundaway: I just un-checked CONFIG_XEN_BLKDEV_TAP
Anyways, there's an issue in ./drivers/xen/blktap/xenbus.c (beware, I
didn't test this, because I unchecked the above).

---
/usr/src/xen-3.0.2-2-patched/linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c   
   
2006-10-07 09:06:14.000000000 +0200
+++
/usr/src/xen-3.0.2-2/linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c      
2006-04-13 19:48:37.000000000 +0200
@@ -68,7 +68,7 @@
                = container_of(watch, struct backend_info, watch);

        /* If other end is gone, delete ourself. */
-       if (vec && !xenbus_exists(be->frontpath, "","")) {
+       if (vec && !xenbus_exists(be->frontpath, "")) {
                xenbus_rm(be->dev->nodename, "");
                device_unregister(&be->dev->dev);
                return;
@@ -160,7 +160,7 @@
                                 dev->nodename);
                goto free_be;
        }
-       if (strlen(frontend) == 0 || !xenbus_exists(frontend, "","")) {
+       if (strlen(frontend) == 0 || !xenbus_exists(frontend, "")) {
                /* If we can't get a frontend path and a frontend-id,
                 * then our bus-id is no longer valid and we need to
                 * destroy the backend device.

greetings - Michael

Michael Kress wrote:
> Hi,
>
> I try to get xen running on an em64T machine with arch=x86_64 and I get
> the following compilation error:
> Can you help me with that?
> TIA
> Regards - Michael
>
>
> make -C linux-2.6.16-xen ARCH=x86_64
> INSTALL_PATH=/usr/src/xen-3.0.2-2/dist/install vmlinuz
> make[3]: Entering directory `/usr/src/xen-3.0.2-2/linux-2.6.16-xen'
>   CHK     include/linux/version.h
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   CHK     usr/initramfs_list
>   CC      drivers/xen/blktap/xenbus.o
> drivers/xen/blktap/xenbus.c: In function `frontend_changed':
> drivers/xen/blktap/xenbus.c:71: warning: passing arg 1 of
> `xenbus_exists' makes integer from pointer without a cast
> drivers/xen/blktap/xenbus.c:71: error: too few arguments to function
> `xenbus_exists'
> drivers/xen/blktap/xenbus.c:72: warning: passing arg 1 of `xenbus_rm'
> makes integer from pointer without a cast
> drivers/xen/blktap/xenbus.c:72: error: too few arguments to function
> `xenbus_rm'
> drivers/xen/blktap/xenbus.c:80: warning: passing arg 1 of
> `xenbus_gather' makes integer from pointer without a cast
> drivers/xen/blktap/xenbus.c:96: warning: implicit declaration of
> function `xenbus_dev_ok'
> drivers/xen/blktap/xenbus.c:101: error: too few arguments to function
> `xenbus_transaction_end'
> drivers/xen/blktap/xenbus.c: In function `blkback_probe':
> drivers/xen/blktap/xenbus.c:154: warning: passing arg 1 of
> `xenbus_gather' makes integer from pointer without a cast
> drivers/xen/blktap/xenbus.c:163: warning: passing arg 1 of
> `xenbus_exists' makes integer from pointer without a cast
> drivers/xen/blktap/xenbus.c:163: error: too few arguments to function
> `xenbus_exists'
> make[6]: *** [drivers/xen/blktap/xenbus.o] Error 1
> make[5]: *** [drivers/xen/blktap] Error 2
> make[4]: *** [drivers/xen] Error 2
> make[3]: *** [drivers] Error 2
> make[3]: Leaving directory `/usr/src/xen-3.0.2-2/linux-2.6.16-xen'
> make[2]: *** [build] Error 2
> make[2]: Leaving directory `/usr/src/xen-3.0.2-2'
> make[1]: *** [linux-2.6-xen-install] Error 2
> make[1]: Leaving directory `/usr/src/xen-3.0.2-2'
> make: *** [install-kernels] Error 1
>
>
>
>   


-- 
Michael Kress, kress@xxxxxxxxxxx
http://www.michael-kress.de / http://kress.net
P E N G U I N S   A R E   C O O L


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


 


Rackspace

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