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] using libxenstat.h with g++

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] using libxenstat.h with g++
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
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=12oZq52b0LPJ9EjPB6CK3LPhcVnmEo3a1z5SfAsF8ko=; b=Ns/RZp+jKt7Ui6OZ8jRCBqxOayhDGoQe2qUWaUlJkeE2tX/9PsQCNRwsF3KJRyGyk/L8m44bkk0f2IM0zfIEq6qLXBFtfUzZlOax9F6t9fQOLj4HCekZB239gc2KYVBHWjiB0yrA/woz8OB5unbEZdjKzSbi9zjC9xQoGXyVeBk=
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=
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
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] using libxenstat.h with g++, Leandro Teodoro Costa <=