[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Compilation problem

>When compiling XEN 3.0.3 (KERNELS = linux-2.6-xen0 linux-2.6-xenU) with=
>Linux kernel or
>and with gcc 4.1, I stumble over the following compilation error:
>make[3]: entrant dans le repertoire
>CHK include/linux/version.h
>CC [M] net/ipv4/netfilter/ip_conntrack_proto_tcp.o
>In file included from net/ipv4/netfilter/ip_conntrack_proto_tcp.c:33:
>include/net/tcp.h: In function tcp_skb_pcount:
>include/net/tcp.h:555: error: struct skb_shared_info has no member
>named tso_segs
>include/net/tcp.h: In function tcp_skb_mss:
>include/net/tcp.h:561: error: struct skb_shared_info has no member
>named tso_size
>make[6]: *** [net/ipv4/netfilter/ip_conntrack_proto_tcp.o] Erreur 1
>make[5]: *** [net/ipv4/netfilter] Erreur 2
>make[4]: *** [net/ipv4] Erreur 2
>make[3]: *** [net] Erreur 2

The build normally patches all of the references to tso_segs and tso_size
with references to gso_segs and gso_size, see 


This will only happen for linux kernel versions that have appropriate 
subdirectories in the patches directory. Since you're building a random
other kernel, the patching will not occur and you'll get your error. 

Are you sure you see this issue with (which is the kernel
shipped with 3.0.3-0)? 

>It appears to be the same error with kernel


>Any advice?
Use, or create new patches against the later kernels; you 
can probably get some help from looking at the -unstable tree.



Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.