
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.... 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 -=|