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

[Xen-devel] libxenstat.h with the compiler g++!


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx, leandro.teocosta@xxxxxxxxx
  • From: "Leandro Teodoro Costa" <leandro.teocosta@xxxxxxxxx>
  • Date: Tue, 20 May 2008 18:56:10 -0300
  • Delivery-date: Tue, 20 May 2008 14:56:30 -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=TJBmB1Vq8ll8EKycY1WhTZBTHpSZ2uDKdfpsQXlxGGiUxrfQ/IPWHD+ReMelW72YFW3EusYUS6QIyavO705TVnlto68HrSG9b/vsGWt9edAVNaeLM2+eDzYRM+0vvzm9Z2KyCFt8umcgsZNNt6JIRLFW96XSCfzNLBMG8G5ifh4=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello!!!

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*)'



_______________________________________________
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®.