It worked using Taavi's Makefile.

2011/1/28 Marcelo Coelho <[email protected]>

> Paulo,
>
> Can you test with this Makefile?
>
> On Jan 28, 2011, at 10:54 AM, Taavi Sannik wrote:
>
> > Hi!
> >
> > My attempt to fix this:
> >
> > -----------------------------------------
> >
> > LTLIBRARY_NAME    = libperuser.la
> >
> > ### Remove '#' to enable
> > # PERUSER_MAX_CPU_USAGE = 1
> >
> > ifdef PERUSER_MAX_CPU_USAGE
> > LTLIBRARY_SOURCES = peruser.c cpu_usage.c
> > LTLIBRARY_LIBADD = -lkvm
> > else
> > LTLIBRARY_SOURCES = peruser.c
> > endif
> >
> > include $(top_srcdir)/build/ltlib.mk
> >
> > -----------------------------------------
> >
> > This seems to work on my CentOS machine at least (and uncommenting
> PERUSER_MAX_CPU_USAGE makes it try to compile cpu_usage support).
> >
> > --
> > Taavi Sannik
> >
> >
> > _______________________________________________
> > Peruser mailing list
> > [email protected]
> > http://www.telana.com/mailman/listinfo/peruser
> >
>
> _______________________________________________
> Peruser mailing list
> [email protected]
> http://www.telana.com/mailman/listinfo/peruser
>



-- 
~ Colecionador [ Paulo HPF Caetano ]
"Always remember you're unique, just like everyone else."
_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to