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: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Error compiling with CONFIG_PROFILING (xenoprof)
From: "Michael Paesold" <mpaesold@xxxxxx>
Date: Mon, 10 Apr 2006 13:28:32 +0200
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 10 Apr 2006 04:28:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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> <65e385dda31af24104770ee1e2244232@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Keir Fraser wrote:
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.

Thanks! I had missed that patch when updating to that changeset.

'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.

I think "make mkpatches" is correct, but I missed the additional patch. To use the patch from mkpatches and apply them to a vanilla kernel, one also needs to apply all patches from patches/linux-2.6.16. "make mkpatches" creates diffs between vanilla+patches/linux-2.6.16 and xenified+patches/linux-2.6.16).

Best Regards,
Michael Paesold


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