WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-research] xen compilation problem

To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-research@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-research] xen compilation problem
From: Abhay Bhadani <abhadani@xxxxxxxxx>
Date: Thu, 2 Apr 2009 01:15:51 +0530
Cc:
Delivery-date: Wed, 01 Apr 2009 12:45:58 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=iWKxgdUBEwEaJSN41tF/TU+csdGmeh7CLKKOqL4h3xQ=; b=A5eM8H973eRYhr5JDn7krBOoeLJHKZxWem1JhKGOO6+OzXQXgF5zwUv/PW5PqhLpH1 vgjEMN6wRuK8lBl8BUHwvKqDjDFZMrV0UItouyujbTxqTdhFDdpOIdQxefhjNOMAIWqF 2mrnCJz2DKcXcxqrlb5lcV9L6258pF8LWVJeE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=OLRXwiX6TcnlK17Ei9pirFd619f90wTLCyImRljn9AmXqTu+eBsRDCyvAWRcSXyana AnASaVRy5KzgMmhQvF3syrmwM6KCN2zm8Duj5MT/OU7Z6FBOCZcBDnGn49KEIHdHnEw+ 7/rBYf8vbEoxckUcRXTh9fI8kH6VGNRm10Wqc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-research-request@lists.xensource.com?subject=help>
List-id: Research Issues on Xen <xen-research.lists.xensource.com>
List-post: <mailto:xen-research@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-research>, <mailto:xen-research-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-research>, <mailto:xen-research-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-research-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I might be missing some silly thing. Please help me out to get the
source compiled.

OS : RHEL 5.2   and   CentOS 5.2


I tried xen-3.3.0 and linux-2.6.18.8.hg kernel but failed to compile
successfully and gave some compilation errors.

Then, i tried on Xen 3.0.3_0 and linux-2.6.16.29 kernel, which
compiled sucessfully. then i followed whole steps. But while booting
into Xen Kernel i got these errors:

.
.
.
.
Loading ata_piix.ko module
Waiting for driver initialization.
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys , mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.




Also, during Compilation with xen 3.3.0 with linux-2.6.18-xen.hg,  i
got these compilation errors irrespective of any OS platform. I am
always getting these errors.

I also tried to download linux-2.6.18-xen.hg 2-3 times, hoping i may
get some updates but it didn't worked.


.
.
.
.
.
 CC [M]  net/ipv4/netfilter/iptable_raw.o
  CC [M]  net/ipv4/netfilter/ipt_hashlimit.o
  CC [M]  net/ipv4/netfilter/ipt_iprange.o
  CC [M]  net/ipv4/netfilter/ipt_owner.o
  CC [M]  net/ipv4/netfilter/ipt_tos.o
  CC [M]  net/ipv4/netfilter/ipt_recent.o
  CC [M]  net/ipv4/netfilter/ipt_ecn.o
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:28:
warning: ‘struct ipt_ECN_info’ declared inside parameter list
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:28:
warning: its scope is only this definition or declaration, which is
probably not what you want
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:
In function ‘set_ect_ip’:
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:30:
error: ‘IPT_DSCP_MASK’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:30:
error: (Each undeclared identifier is reported only once
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:30:
error: for each function it appears in.)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:31:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:39:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:
At top level:
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:52:
warning: ‘struct ipt_ECN_info’ declared inside parameter list
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:
In function ‘set_ect_tcp’:
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:63:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:63:
error: ‘IPT_ECN_OP_SET_ECE’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:64:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:65:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:65:
error: ‘IPT_ECN_OP_SET_CWR’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:66:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:78:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:79:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:80:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:81:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:
In function ‘target’:
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:103:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:103:
error: ‘IPT_ECN_OP_SET_IP’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:104:
warning: passing argument 2 of ‘set_ect_ip’ from incompatible pointer
type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:107:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:107:
error: ‘IPT_ECN_OP_SET_ECE’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:107:
error: ‘IPT_ECN_OP_SET_CWR’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:109:
warning: passing argument 2 of ‘set_ect_tcp’ from incompatible pointer
type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:
In function ‘checkentry’:
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:126:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:126:
error: ‘IPT_ECN_OP_MASK’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:128:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:131:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:131:
error: ‘IPT_DSCP_MASK’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:133:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:136:
error: dereferencing pointer to incomplete type
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:136:
error: ‘IPT_ECN_OP_SET_ECE’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:136:
error: ‘IPT_ECN_OP_SET_CWR’ undeclared (first use in this function)
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:
At top level:
/home/abhay/build330/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:148:
error: invalid application of ‘sizeof’ to incomplete type ‘struct
ipt_ECN_info’
make[9]: *** [net/ipv4/netfilter/ipt_ecn.o] Error 1
make[8]: *** [net/ipv4/netfilter] Error 2
make[7]: *** [net/ipv4] Error 2
make[6]: *** [net] Error 2
make[5]: *** [modules] Error 2
make[4]: *** [modules] Error 2
make[4]: Leaving directory
`/home/abhay/build330/xen-3.2.0/build-linux-2.6.18-xen_x86_32'
make[3]: *** [build] Error 1
make[3]: Leaving directory `/home/abhay/build330/xen-3.2.0'
make[2]: *** [linux-2.6-xen-install] Error 2
make[2]: Leaving directory `/home/abhay/build330/xen-3.2.0'
make[1]: *** [install-kernels] Error 1
make[1]: Leaving directory `/home/abhay/build330/xen-3.2.0'
make: *** [world] Error 2
[root@localhost xen-3.2.0]#




Any suggestions...


Thanks and Regards,

Abhay Bhadani
http://dcomp.daiict.ac.in/~abhay

_______________________________________________
Xen-research mailing list
Xen-research@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-research

<Prev in Thread] Current Thread [Next in Thread>