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

Re: [Xen-users] Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory]



On Thu, 2012-03-22 at 09:42 +0000, Coding Geek wrote:

> Xen and Xen-devel are already installed in my system and I am unable
> to locate libxenstat or xenstat.h

It looks like Xen didn't install these until after Xen 4.1, xentop is
linked against the non-shared version of the library until commit
23075:b4351d57464b.

I'm afraid you choice here is basically to rebuild your Xen rpm's with
that additional patch or to build libxenstat yourself from source.

Ian.

> 
> 
> 
> 
> On Thu, Mar 22, 2012 at 2:55 PM, Ian Campbell
> <Ian.Campbell@xxxxxxxxxx> wrote:
>         On Thu, 2012-03-22 at 09:17 +0000, Coding Geek wrote:
>         >
>         > Hi
>         > I am using xen4.0.3 in Opensuse11.4. I need to do the
>         monitoring of
>         > VM's and on that basis take the migration decision so I am
>         trying to
>         > write my own xentop like program. But I am facing trouble
>         while using
>         > xenstat.h in my C program.
>         > test.c:3:24: fatal error: xenstat.h: No such file or
>         directory
>         
>         
>         So, this seems like a pretty clear error message. Is this
>         header present
>         on your system? You might need to install a development RPM?
>         
>         Ian.
>         
>         
>         > But my xentop is working fine. What to do in this case. How
>         to use
>         > libxenstat library in my C program.
>         >
>         > Or if you have any other idea regarding Monitoring and
>         migration.
>         > Please share.
>         > Thank you
>         > --
>         > Tasvinder Singh
>         >
>         >
>         >
>         >
>         >
>         
>         
>         
> 
> 
> 
> 
> -- 
> --
> 
> 
> "To Iterate is Human, To Recurse is Divine"
> 
> 
> 
> 
> 
> -- 
> --
> 
> 
> "To Iterate is Human, To Recurse is Divine"
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.