Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Users

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

 

 

Xen users RSS feed   Index | Next | Previous | View Threaded


codinggeek16 at gmail

Mar 22, 2012, 2:17 AM

Post #1 of 6 (344 views)
Permalink
Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory]

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
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


Ian.Campbell at citrix

Mar 22, 2012, 2:25 AM

Post #2 of 6 (332 views)
Permalink
Re: Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory] [In reply to]

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
>
>
>
>
>



_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xen.org/xen-users


codinggeek16 at gmail

Mar 22, 2012, 2:42 AM

Post #3 of 6 (361 views)
Permalink
Re: Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory] [In reply to]

Hello Ian,

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



On Thu, Mar 22, 2012 at 2:55 PM, Ian Campbell <Ian.Campbell [at] citrix>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"


Ian.Campbell at citrix

Mar 22, 2012, 3:10 AM

Post #4 of 6 (337 views)
Permalink
Re: Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory] [In reply to]

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 [at] citrix> 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 [at] lists
http://lists.xen.org/xen-users


codinggeek16 at gmail

Mar 22, 2012, 4:46 AM

Post #5 of 6 (333 views)
Permalink
Re: Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory] [In reply to]

Can you please brief me with the second option. How to build libxenstat
from source.


On Thu, Mar 22, 2012 at 3:40 PM, Ian Campbell <Ian.Campbell [at] citrix>wrote:

> 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 [at] citrix> 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"
> >
>
>
>


--
--

"To Iterate is Human, To Recurse is Divine"


Ian.Campbell at citrix

Mar 22, 2012, 5:12 AM

Post #6 of 6 (333 views)
Permalink
Re: Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory] [In reply to]

On Thu, 2012-03-22 at 11:46 +0000, Coding Geek wrote:
>
> Can you please brief me with the second option. How to build
> libxenstat from source.

You just need to build Xen itself and libxenstat will come out of that.
WRT building Xen please try to do some research yourself first (e.g. use
the search engines, read the docs etc) and ask questions if you have
encounter problems.

Thanks,
Ian.

>
>
> On Thu, Mar 22, 2012 at 3:40 PM, Ian Campbell
> <Ian.Campbell [at] citrix> wrote:
> 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 [at] citrix> 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"
> >
>
>
>
>
>
>
> --
> --
>
>
> "To Iterate is Human, To Recurse is Divine"
>



_______________________________________________
Xen-users mailing list
Xen-users [at] lists
http://lists.xen.org/xen-users

Xen users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.