[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-research] xen compilation problem
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |