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

[Xen-devel] using libxenstat.h with g++


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Leandro Teodoro Costa" <leandro.teocosta@xxxxxxxxx>
  • Date: Wed, 21 May 2008 15:30:10 -0300
  • Delivery-date: Wed, 21 May 2008 11:30:32 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=dczk98lU2g9FNAl5R0kLiAKL0TKFq2892BUDuoah9RNT1ATJCuxSf2Z/znP4z+JvlV4T77W9olwL9taPep9nBENOGm0JS+2YjYRzKEocRvwQy1Ey6hYfbGnSR8S7fXK5W3/F1OZwbEDvO5PrzZlAgT+E1I/PKlbqcpCcx/6EZd8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi!!!

Someone knows how I can use the functions of the library libxenstat.h
with the compiler g++??

When I used gcc I have not had any problems.

some errors with the g++:

/tmp/cc2l8kks.o: In function `get_vcpu_online(xenstat_domain*)':
tste.c:(.text+0x9f1): undefined reference to `xenstat_domain_num_vcpus(xenstat_domain*)'
tste.c:(.text+0xa0f): undefined reference to `xenstat_domain_vcpu(xenstat_domain*, unsigned int)'
tste.c:(.text+0xa1d): undefined reference to `xenstat_vcpu_online(xenstat_vcpu*)'
/tmp/cc2l8kks.o: In function `print_information(xenstat_domain*, int, int, double, int, int)':
tste.c:(.text+0xa82): undefined reference to `xenstat_domain_name(xenstat_domain*)'
tste.c:(.text+0xaf3): undefined reference to `xenstat_domain_num_vcpus(xenstat_domain*)'

please a need help!

atc...   Leandro T. Costa

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.