On 06/29/2011 06:13 PM, Wen Congyang wrote: >> This sounds highly related to Matthias' issue: >> https://www.redhat.com/archives/libvir-list/2011-June/msg01484.html Matthias was using 1.3... >> >> What version of systemtap headers and gcc are you using, that produce >> this error? > > I use RHEL6RC, and the version of systemtap headers and gcc are: > > # rpm -qa 'systemtap*' > systemtap-sdt-devel-1.2-9.el6.x86_64 but you are using 1.2. The older we go, the worse the systemtap headers were, apparently. Unfortunately, I don't currently have a machine with headers that old to debug it myself. >>> } >>> PROBE(CLIENT_AUTH_ALLOW, "fd=%d, auth=%d, username=%s", >>> - virNetServerClientGetFD(client), REMOTE_AUTH_POLKIT, ident); >>> + virNetServerClientGetFD(client), REMOTE_AUTH_POLKIT, (char *)ident); >> >> If a cast really helps matters, I'd almost rather hide it within the >> #define PROBE() than make callers have to worry about it, but I'm >> reluctant to add a cast without knowing exactly why you are hitting >> compilation failure. What does STAP_PROBE3 look like in your /usr/include/sys/sdt.h? -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list