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

Re: [Xen-devel] I want to use xenctrl.h but there something error

To: 张建锋 <zjf.ha2010@xxxxxxxxx>
Subject: Re: [Xen-devel] I want to use xenctrl.h but there something error
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Sat, 25 Sep 2010 16:52:35 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 25 Sep 2010 08:53:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=VT225kdxEIKGMmORYuyfBdn/Hsm78KuHagSo9BRMoOQ=; b=Zjnom2moAnfm7c14BRpYVXud03Yu+sJu95p0DhO2/HjgA6A6G6MOtNDlCI4b3NnEmi uh8mw/k03rJYKUv1PoU54wl6knQHSoc75FJwlY0TxNz3DlqlH2tYa8HHdupC755qTq38 a5N3WErQQ2lYjDEEYUmCEhil5jlczhEWRnapo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Ni+HNF00QyBsbGcAgpldyLnUOSkyF0blpOFew2fepW79YmHJJCvjPVnMWahTm8Khv1 7CIti1gOyCeua8635DO7dARxzP8pJhY4wLBxa+f9Vs4W9PZ12LL0DqkXNjS6TLHzV3hu idfJdl9vlnZKcbXgJDOY4uokaVQ2neWnz09DU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=kAG_-xQ28DPfmBMqKP7V=R4W1xNxmsUADjYcw@xxxxxxxxxxxxxx>
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>
References: <AANLkTi=kAG_-xQ28DPfmBMqKP7V=R4W1xNxmsUADjYcw@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Can you attach a log of all the compiler output, and the command
you're using to build this file?

 -George

On Sat, Sep 25, 2010 at 9:02 AM, 张建锋 <zjf.ha2010@xxxxxxxxx> wrote:
> 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
>
>

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

<Prev in Thread] Current Thread [Next in Thread>