Re: libvirt on OS X Leopard 10.5.1

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

 



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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]