[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 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:
      _xdr_remote_sched_param_value in libvirtd-remote_protocol.o
      _xdr_remote_get_version_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_block_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_block_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_block_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_block_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_block_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_interface_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_interface_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_interface_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_interface_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_interface_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_interface_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_interface_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_domain_interface_stats_ret in libvirtd-remote_protocol.o
      _xdr_remote_node_get_info_ret in libvirtd-remote_protocol.o
      _xdr_remote_node_get_info_ret in libvirtd-remote_protocol.o
      _xdr_remote_node_get_info_ret in libvirtd-remote_protocol.o

So my guess is that we're missing a library at link time.  I'm not
sure if it will help, but you could try something like...

    make LDFLAGS="-lxdr"

or

    make LDFLAGS="-lrpc"

Or 

     make LDFLAGS="-lrpc -lxdr"

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]