This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Latest 3.0-0.rc4.git0. 2.fc16.x86_64 kernel giving: error: unknown field âwarningâ specified in initializer
- From: "Richard W.M. Jones" <rjones at redhat dot com>
- To: Josh Stone <jistone at redhat dot com>
- Cc: systemtap at sourceware dot org
- Date: Wed, 22 Jun 2011 21:07:36 +0100
- Subject: Re: Latest 3.0-0.rc4.git0. 2.fc16.x86_64 kernel giving: error: unknown field âwarningâ specified in initializer
- References: <20110622195527.GE18438@amd.home.annexia.org> <4E024A7B.6070202@redhat.com>
On Wed, Jun 22, 2011 at 01:03:07PM -0700, Josh Stone wrote:
> On 06/22/2011 12:55 PM, Richard W.M. Jones wrote:
> >
> > $ sudo stap -p4 -e 'probe module("ext2").statement ("*@*.c:*") { printf ("%s\n", pp()); }'
> > In file included from /tmp/stapIl5lwd/stap_391a917f397de1fde63b40df3b702c3c_192393.c:60:0:
> > /usr/share/systemtap/runtime/stack.c:98:2: error: unknown field âwarningâ specified in initializer
> > /usr/share/systemtap/runtime/stack.c:98:2: error: initialization from incompatible pointer type [-Werror]
> > /usr/share/systemtap/runtime/stack.c:98:2: error: (near initialization for âprint_stack_ops.addressâ) [-Werror]
> > /usr/share/systemtap/runtime/stack.c:99:2: error: unknown field âwarning_symbolâ specified in initializer
> > /usr/share/systemtap/runtime/stack.c:99:2: error: initialization from incompatible pointer type [-Werror]
> > /usr/share/systemtap/runtime/stack.c:99:2: error: (near initialization for âprint_stack_ops.stackâ) [-Werror]
> > cc1: all warnings being treated as errors
> [...]
> > I will try again with the version from git and report back.
>
> Yes, I think you need commit 0bbb8009. We should probably spin that
> into a rawhide build.
Yup, that was easy. Confirmed that it's fixed in snapshot 20110618.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v