OpenVZ Forum


Home » Mailing lists » Users » openvz in domu (xen)
openvz in domu (xen) [message #27236] Tue, 12 February 2008 15:22
-miniME- is currently offline  -miniME-
Messages: 1
Registered: February 2008
Junior Member
hi

just tried to compile a xen+openvz-patched kernel !

1 - copy directory ./xen ./linux-2.6-xen-sparse ./linux-2.6.18-xen from xen3.1 into ./own
2 - use patch-ovz028stab053.4-combined.gz on ./linux-2.6.18-xen
3 - fix some minor rejects (arch/i386/Kconfig.rej ; include/linux/eventpoll.h.rej; include/linux/skbuff.h.rej; net/core/skbuff.c.rej)
4 - make menuconfig (add quota, select xen and xen-pci)
5 - make

here the error - any idea why - why the line numbers are wrong in the error statement ?!:
------------------------------------------------------
  CC      drivers/xen/netback/loopback.o
drivers/xen/netback/loopback.c:63: error: expected ')' before '->' token
drivers/xen/netback/loopback.c:63: error: expected ')' before '->' token
drivers/xen/netback/loopback.c:64: error: expected ';' before 'struct'
drivers/xen/netback/loopback.c: In function 'loopback_open':
drivers/xen/netback/loopback.c:70: error: 'struct net_private' has no member named 'stats'

... more errors in other functions
------------------------------------------------------
here part of the code:
------------------------------------------------------
    62  struct net_private {
    63          struct net_device *loopback_dev;
    64          struct net_device_stats stats;
    65  };
    66
    67  static int loopback_open(struct net_device *dev)
    68  {
    69          struct net_private *np = netdev_priv(dev);
    70          memset(&np->stats, 0, sizeof(np->stats));
    71          netif_start_queue(dev);
    72          return 0;
    73  }
------------------------------------------------------

ciao and tx
       
---------------------------------
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das  neue Yahoo! Mail.
Previous Topic: problem with snmpd on veth
Next Topic: fake swap != 0 in VE?
Goto Forum:
  


Current Time: Mon May 06 06:03:09 GMT 2024

Total time taken to generate the page: 0.02041 seconds