Abhay Bhadani
2009-Mar-16 05:25 UTC
[Xen-users] compilation error in linux-2.6.18-xen.hg with xen
Hi All, I am trying to compile the latest xen source code. But i am unable to compile it successfully. It seems there is some bug in /linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c file. Can anybody suggest what do i need to do ? i tried with xen-3.3.0 as well as xen-3.3.1. If i wish to make a similar xen-enabled kernel which comes with fedora 8 or SUSE11, where should i place the .config file while compiling xen-3.3.0/xen-3.3.1 which uses linux-2.6.18-xen.hg I suppose i should issue "make dist" after placing existing .config file. CC [M] net/ipv4/netfilter/ip_conntrack_netbios_ns.o LD [M] net/ipv4/netfilter/ip_nat_h323.o LD [M] net/ipv4/netfilter/ip_nat_pptp.o CC [M] net/ipv4/netfilter/ip_nat_amanda.o CC [M] net/ipv4/netfilter/ip_nat_tftp.o CC [M] net/ipv4/netfilter/ip_nat_ftp.o CC [M] net/ipv4/netfilter/ip_nat_irc.o CC [M] net/ipv4/netfilter/ip_nat_sip.o CC [M] net/ipv4/netfilter/ip_tables.o CC [M] net/ipv4/netfilter/iptable_filter.o CC [M] net/ipv4/netfilter/iptable_mangle.o LD [M] net/ipv4/netfilter/iptable_nat.o 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 /opt/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c: In function ‘match_ip’: /opt/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:26: error: ‘IPT_DSCP_MASK’ undeclared (first use in this function) /opt/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:26: error: (Each undeclared identifier is reported only once /opt/linux-2.6.18-xen.hg/net/ipv4/netfilter/ipt_ecn.c:26: error: for each function it appears in.) make[8]: *** [net/ipv4/netfilter/ipt_ecn.o] Error 1 make[7]: *** [net/ipv4/netfilter] Error 2 make[6]: *** [net/ipv4] Error 2 make[5]: *** [net] Error 2 make[4]: *** [modules] Error 2 make[3]: *** [modules] Error 2 make[3]: Leaving directory `/opt/xen-3.3.1/build-linux-2.6.18-xen_x86_32'' make[2]: *** [build] Error 1 make[2]: Leaving directory `/opt/xen-3.3.1'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/opt/xen-3.3.1'' make: *** [install-kernels] Error 1 linux-sd9c:/opt/xen-3.3.1 # Regards, Abhay _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users