[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] libvirt on OS X Leopard 10.5.1



On Tue, Jan 22, 2008 at 12:01:10AM +0000, Daniel P. Berrange wrote:
> On Mon, Jan 21, 2008 at 05:52:06PM -0600, Schley Andrew Kutz wrote:
> > I've attached the compile failure I get.
> 
> Ok, so your header files suggest Mac OS *does* have xdr_hyper, and this
> failure is a link time failure:
> 
> Undefined symbols:
>   "_xdr_quad_t", referenced from:

Actually scratch my other idea. I think that this is a problem with the 
code we generated on Linux not being portable. ie, GLibC's rpcgen program
generated a remote_protocol.c file which contains a glibc specific call
to xdr_quad_t which Mac OS X does not have. We need to re-generate the 
code on Mac OS, so try the following...

  # cd qemud
  # rm remote_protocol.c
  # make remote_protocol.c
  # cd ..
  # make clean

This should have created a new 'remote_protocol.c' using Apple's rpcgen
program. So now try and build the whole of libvirt again.

Regards,
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  -=| 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]