[Libvir] Re: PKG_CHECK_EXISTS

Schley Andrew Kutz akutz at lostcreations.com
Tue Jan 22 15:49:01 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I concur. The types are clearly defined in /usr/include/rpc/xdr.h.

- --
- -a


On Jan 22, 2008, at 9:47 AM, Daniel P. Berrange wrote:

> On Tue, Jan 22, 2008 at 03:37:05PM +0000, Richard W.M. Jones wrote:
>> Schley Andrew Kutz wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> I did that originally, but since rebuilt it with a clean file  
>>> (inserting
>>> the xdr.h header as I said) and it built. Then I tried connecting  
>>> and it
>>> fails.
>>
>> I can't reproduce this here.  For me, it isn't sufficient just to add
>> #include <rpc/xdr.h> to remote_protocol.h.  xdr_quad_t is still
>> undefined, which is not really surprising because it doesn't exist in
>> any Mac OS X header file.  I suspect that your remote_protocol.[ch]
>> files are out of date -- built using the faulty "long" version of
>> remote_protocol.x, and if you try to rebuild them you'll get the  
>> error
>> that Mac OS X doesn't support "hyper".
>
> The funny thing is that Apple clearly documents xdr_hyper in their
> manpages
>
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/xdr.3.html
>
> which lead me to think perhaps its just the rpcgen program of theirs  
> that
> is broken ?
>
> Dan.
> -- 
> |=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392  
> 2496 -=|
> |=-           Perl modules: http://search.cpan.org/ 
> ~danberr/              -=|
> |=-               Projects: http://freshmeat.net/ 
> ~danielpb/               -=|
> |=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B  
> 9505  -=|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHlhBtTg8lceyAqqQRApHdAJ99kLrOUGEaovlwXtsdUhKEgDBGkgCeJ/3p
tJLD70x8Got9IUr0/EV6Uqw=
=mBYN
-----END PGP SIGNATURE-----




More information about the libvir-list mailing list