* Latest 3.0-0.rc4.git0.2.fc16.x86_64 kernel giving: error: unknown field ‘warning’ specified in initializer
@ 2011-06-22 19:55 Richard W.M. Jones
2011-06-22 20:03 ` Josh Stone
0 siblings, 1 reply; 3+ messages in thread
From: Richard W.M. Jones @ 2011-06-22 19:55 UTC (permalink / raw)
To: systemtap
$ 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
make[1]: *** [/tmp/stapIl5lwd/stap_391a917f397de1fde63b40df3b702c3c_192393.o] Error 1
make: *** [_module_/tmp/stapIl5lwd] Error 2
Pass 4: compilation failed. Try again with another '--vp 0001' option.
Adding --vp 0001 doesn't appear to make much difference to the
output.
This is with:
systemtap-1.5-3.rwmj1.fc15.x86_64
(standard systemtap 1.5-3 from Fedora 15 + a patch to increase
STP_DEFAULT_BUFFERS to 1000).
I will try again with the version from git and report back.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Latest 3.0-0.rc4.git0.2.fc16.x86_64 kernel giving: error: unknown field ‘warning’ specified in initializer
2011-06-22 19:55 Latest 3.0-0.rc4.git0.2.fc16.x86_64 kernel giving: error: unknown field ‘warning’ specified in initializer Richard W.M. Jones
@ 2011-06-22 20:03 ` Josh Stone
2011-06-22 20:07 ` Richard W.M. Jones
0 siblings, 1 reply; 3+ messages in thread
From: Josh Stone @ 2011-06-22 20:03 UTC (permalink / raw)
To: Richard W.M. Jones; +Cc: systemtap
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Latest 3.0-0.rc4.git0.2.fc16.x86_64 kernel giving: error: unknown field ‘warning’ specified in initializer
2011-06-22 20:03 ` Josh Stone
@ 2011-06-22 20:07 ` Richard W.M. Jones
0 siblings, 0 replies; 3+ messages in thread
From: Richard W.M. Jones @ 2011-06-22 20:07 UTC (permalink / raw)
To: Josh Stone; +Cc: systemtap
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-22 20:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 19:55 Latest 3.0-0.rc4.git0.2.fc16.x86_64 kernel giving: error: unknown field ‘warning’ specified in initializer Richard W.M. Jones
2011-06-22 20:03 ` Josh Stone
2011-06-22 20:07 ` Richard W.M. Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).