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

[Xen-devel] libxc cannot used


  • To: xen-devel组 <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: lijiandm <lijiandm@xxxxxxx>
  • Date: Mon, 10 Nov 2008 11:11:41 +0800 (CST)
  • Delivery-date: Sun, 09 Nov 2008 19:12:07 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

 hello list:
  I have installed xen 3.1.0 on fedora core 8,and write the code to test libxc:
 
#include <xenctrl.h>
int main()
{
 int xc_handle;
  /* open handle to the libxc interface */
  if ((xc_handle = xc_interface_open()) == -1){
        printf("ERROR: Failed to open libxc interface\n");
        return 0;
  }
 return 1;
}
But it metioned :
"undefined reference to `'xc_interface_open'".
 
What's the reason?How can I use libxc correctly?



[广告] 金秋最关注楼盘-房不胜房
_______________________________________________
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®.