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: Saurabh Arora <tanish2k@xxxxxxxxx>
Subject: Re: [Xen-research] xen compilation problem
From: Abhay Bhadani <abhadani@xxxxxxxxx>
Date: Thu, 2 Apr 2009 01:37:07 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, xen-research@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 01 Apr 2009 13:07:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vQXYNyrTb/uzcwp9diK6BAX1y26jDeG2TPBbKlhGahs=; b=YMZUxyY3pT1V1e89LJETIIXsS4n0tMydGGg7BxT3XHzJCC7/tFnrJNT0JpJxdhs79k n/bIQqwD76FIoatY9twoFPiDGbFxjxytRGAtwSvhhvu8gOIf9Bq6aTi5mv+5rSp97Cst G9SRAL1T+cz7GIbnk4DKSIxbAcOYzmdjMzQMI=
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=QFHfIGrHNYaHmpoUHHPCVQYVYgBoPO7d8rOVAsgQYCwt5WTR3LMfXe7etGZOgmxvLc w7UL118ysIWly7vJDe2Ch7qz85g49NSS9GdLepqt1VrBMuDAQW9MXwjIXZzNUQevvyJ5 jPcwHmWJtU4Vcf3mUL9chDDFXggyGPUerlkSY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3b7f66e70904011254xc8c8858w99460f42b0b7ff2c@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> <3b7f66e70904011254xc8c8858w99460f42b0b7ff2c@xxxxxxxxxxxxxx>
Sender: xen-research-bounces@xxxxxxxxxxxxxxxxxxx
Hi Sourabh,

Thanks for the reply.

Actually i am trying to work with scheduler algorithms and try to
modify it rather play with it. and i m facing problem related to
compiling the source code.

As far as xen is concerned i am able to work with it without any problem.

--Abhay

On Thu, Apr 2, 2009 at 1:24 AM, Saurabh Arora <tanish2k@xxxxxxxxx> wrote:
> 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>