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@lists.xensource.com http://lists.xensource.com/xen-devel
George Dunlap
2010-Sep-25 15:52 UTC
Re: [Xen-devel] I want to use xenctrl.h but there something error
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@gmail.com> 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@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel