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-devel

Re: [Xen-devel] Error compiling with CONFIG_PROFILING (xenoprof)

To: "Michael Paesold" <mpaesold@xxxxxx>
Subject: Re: [Xen-devel] Error compiling with CONFIG_PROFILING (xenoprof)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 10 Apr 2006 11:34:19 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 10 Apr 2006 03:34:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <00a701c65c83$8cb26310$d801a8c0@zaphod>
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>
References: <00a701c65c83$8cb26310$d801a8c0@zaphod>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 10 Apr 2006, at 10:45, Michael Paesold wrote:


Here is the build error:
arch/i386/oprofile/xenoprof.c:315: error: unknown field `set_active' specified in initializer arch/i386/oprofile/xenoprof.c:315: warning: initialization from incompatible pointer type
make[1]: *** [arch/i386/oprofile/xenoprof.o] Error 1
make: *** [arch/i386/oprofile] Error 2


That is from linux 2.6.16.1 with xen patched into the kernel from "make mkpatches". I can supply the kernel config as well as my kernel source RPM to recreate the problem, if that helps.

You're missing the extra patch in file patches/linux-2.6.16/xenoprof-generic.patch.

'make mkpatches' should be incorporating the extra patches from patches/linux-2.6.16 -- if it isn't then it needs fixing to do so.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel