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-research

Re: [Xen-research] xen compilation problem

To: Abhay Bhadani <abhadani@xxxxxxxxx>
Subject: Re: [Xen-research] xen compilation problem
From: Saurabh Arora <tanish2k@xxxxxxxxx>
Date: Wed, 1 Apr 2009 21:54:44 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, xen-research@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 01 Apr 2009 12:55:12 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cxNbZ7+kJ8jLuLiUz6FoRrnw32n251wVON8wxpkdFq0=; b=ew6wuhN5IF7Dt/761PhPhud/zaeyTnw4yN6dwdbTMbfQeHH0yCWbEStPBf+asEIWJO pgb7L6fXqOt5bpPn/2uhb5dmsKNVj/krz9O9sBKzdjNUMrI8efUm3uW6r/Fg5loOWSGE aVzus30etxgzfFNGpjkkxWLJk4DWo2HuCITIU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=adzhs9gTOHv5acOp98pi7xJi9SiRCiBIVqhRnDgJzVrfHskkIqR3HtfeWAHAMviqpU SoLIgnlTwe96LLkMKxyqAVJI74NjEHMYiokCRuCqWlyohY+toy7IdH07RgnKtR1inyoh fcXoRuoxZ+P3/8hYKkOTp0mM/q0aQ6vcWq7hw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bf5456430904011245o20c50635s7d3bb09f7f32e838@xxxxxxxxxxxxxx>
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>
References: <bf5456430904011245o20c50635s7d3bb09f7f32e838@xxxxxxxxxxxxxx>
Sender: xen-research-bounces@xxxxxxxxxxxxxxxxxxx
two things:

1) why did you mail this query to xen-research ?

2) this link has some tips for ubuntu. check references in the text
for other platform installations.
http://www.thesis.saurabharora.com/doku.php?id=how-to:xen_setup_guide

--
Saurabh

On Wed, Apr 1, 2009 at 9:45 PM, Abhay Bhadani <abhadani@xxxxxxxxx> wrote:
> 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
>

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

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