Latest 3.0-0.rc4.git0.2.fc16.x86_64 kernel giving: error: unknown field ‘warning’ specified in initializer

Richard W.M. Jones rjones@redhat.com
Wed Jun 22 20:07:00 GMT 2011


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



More information about the Systemtap mailing list