This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Latest 3.0-0.rc4.git0.2.f c16.x86_64 kernel giving: error: unknown field âwarningâ specified in initializer


$ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]