All of lore.kernel.org
 help / color / mirror / Atom feed
From: lijiandm <lijiandm@163.com>
To: xen-devel组 <xen-devel@lists.xensource.com>
Subject: libxc cannot used
Date: Mon, 10 Nov 2008 11:11:41 +0800 (CST)	[thread overview]
Message-ID: <10565699.533951226286701555.JavaMail.coremail@app141.163.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 445 bytes --]

 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?

[-- Attachment #1.2: Type: text/html, Size: 994 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

             reply	other threads:[~2008-11-10  3:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10  3:11 lijiandm [this message]
2008-11-11 16:34 ` libxc cannot used Lu, Guanqun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10565699.533951226286701555.JavaMail.coremail@app141.163.com \
    --to=lijiandm@163.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.