WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx, leandro.teocosta@xxxxxxxxx
Subject: [Xen-devel] libxenstat.h with the compiler g++!
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=0sP55gpdOSeNeKh54RtIGNPRpqWU8uE5mRujB0P9DGQ=; b=IQ4GhiJpdYwa+zJGYXgW6/ib3j1fZ8F4124LK8TrbCvi5MuVwwFXrlT9LakY0kJyBm5ZHvRjVRuBMiTYNQtaNL05T+yEMVM9aBXG/Bv7NBtvDk5klOdqRkzMeiUBl6dBlS8tLuQ0JgHLTgnhki7OkdKcBbCi/SdN899g2WDRaXc=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>