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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Compilation problem

To: PUCCETTI Armand <armand.puccetti@xxxxxx>
Subject: Re: [Xen-devel] Compilation problem
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: 2006年12月08日 11:17:18 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Steven.Hand@xxxxxxxxxxxx
Delivery-date: 2006年12月08日 03:17:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: Message from PUCCETTI Armand <armand.puccetti@xxxxxx> of "2006年12月08日 12:46:35 +0100." <4579509B.6080408@xxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>When compiling XEN 3.0.3 (KERNELS = linux-2.6-xen0 linux-2.6-xenU) with=
>
>Linux kernel 2.6.16.29 or 2.6.26.35
>and with gcc 4.1, I stumble over the following compilation error:
>
>make[3]: entrant dans le repertoire
>.../xen-3.0.3_0-src/linux-2.6.16.35-xen0
>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 
 patches/linux-2.6.16.29/net-gso-0-base.patch 
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 2.6.16.29? (which is the kernel
shipped with 3.0.3-0)? 
>It appears to be the same error with kernel 2.6.17.10.
Indeed. 
>Any advice?
 
Use 2.6.16.29, or create new patches against the later kernels; you 
can probably get some help from looking at the -unstable tree.
cheers,
S.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] [RFC][PATCH] 1/3] [XEN] Use explicit bit sizedfieldsfor exported xentrace data. , Ian Pratt
Next by Date: Re: [Xen-devel] kexec trouble , Gerd Hoffmann
Previous by Thread: [Xen-devel] Compilation problem , PUCCETTI Armand
Next by Thread: Re: [Xen-devel] Compilation problem , PUCCETTI Armand
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /