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

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

To: "Xen Devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Error compiling with CONFIG_PROFILING (xenoprof)
From: "Michael Paesold" <mpaesold@xxxxxx>
Date: Mon, 10 Apr 2006 11:45:49 +0200
Delivery-date: Mon, 10 Apr 2006 02:46:04 -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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
A xen-unstable changeset between 9515:d0d3fef37685 and 9576:050ad9813cdb broke compiling the kernel with CONFIG_PROFILING=y here. (I have not yet tested a later cs.)

There were some changesets regarding xenoprof.
http://xenbits.xensource.com/xen-unstable.hg?cmd=changelog&rev=xenoprof#

Perhaps some of those broke my build. I have disabled CONFIG_PROFILING for now because I don't need it currently, but I thought I'd let you know.

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.

Best Regards,
Michael Paesold


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