[libvirt] building error

Eric Blake eblake at redhat.com
Thu Jun 30 20:54:19 UTC 2011


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110630/f67eab5a/attachment-0001.sig>


More information about the libvir-list mailing list