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

Josh Stone jistone@redhat.com
Wed Jun 22 20:03:00 GMT 2011


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.

Josh



More information about the Systemtap mailing list