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] I want to use xenctrl.h but there something error

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] I want to use xenctrl.h but there something error
From: 张建锋 <zjf.ha2010@xxxxxxxxx>
Date: Sat, 25 Sep 2010 16:02:39 +0800
Delivery-date: Sat, 25 Sep 2010 01:03:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=/PbT5eD07mGFHkmXz8OFEeeSpVeY8s/O7k93tais25A=; b=Z3eNODu5N2ta+9Y5M53q+RhmY+m3jOFTV7m/Sqi1T2fT8sdEF2yPOC1QCgtOPhuEei pwBtCgLYY3MZDxBAEs0TbOFDO53rQb8GEuT1mPU8/KDHf9rP40jh6S18tMPrqGWTEOKB NQ3buB8EYkGG3TwGLrBRVLNmJDOrZEqSeXlYM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=e7+2hS20S3wTJ7REm9KFegy1M6SsJPR4gTRfGxBYHv6gcYauTHScHZuaQiPaDLVeJP 1S6zEDNY21QpAhfyTg6EKsv+/p2BIm3nwKXMah+DtVQw8Tupf0VXMIrrUPsJmYc9aCxm BieLPxd3u8t18sO40q6FxKsJuKPWrjVL4ghOQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
codes just like:

#include <xenctrl.h>  

main(
 char const * devicename="svmmf13num";
 int svmmf13num=xc_find_device_number(devicename);
)

but :
undefined reference to `xc_interface_open()'

How can I do? I use google but I‘ve no idea.

Thanks very much
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>