[Pm-utils] pm-utils and pmu hardware.

Peter Jones pjones at redhat.com
Tue May 2 13:48:53 PDT 2006


On Tue, 2006-05-02 at 20:41 +0100, Richard Hughes wrote:
> On Tue, 2006-05-02 at 15:08 -0400, Peter Jones wrote:
> > On Tue, 2006-05-02 at 19:35 +0100, Richard Hughes wrote:
> > > On Tue, 2006-05-02 at 14:21 -0400, Peter Jones wrote:
> > > > If not, I'll have to wrangle one down around here, and that'll probably
> > > > take until tomorrow.
> > > 
> > > EEich:
> > > 
> > > [hughsie at hughsie-laptop pm-utils]$ make
> > > cc  -Wall -Werror -c -o pm-pmu.o pm-pmu.c
> > > pm-pmu.c: In function ‘pmu_sleep’:
> > > pm-pmu.c:45: error: ‘__u32’ undeclared (first use in this function)
> > > pm-pmu.c:45: error: (Each undeclared identifier is reported only once
> > > pm-pmu.c:45: error: for each function it appears in.)
> > > pm-pmu.c:45: error: expected expression before ‘)’ token
> > > make: *** [pm-pmu.o] Error 1
> > 
> > Your system headers are broken; they're exposing __u32 to userspace
> > where they shouldn't be.
> 
> That's the conclusion I had. FC5 with all the updates...

Hrm.  No idea what's up there.  I was building against rawhide.

I've just checked in a patch that may help.  Try it?

-- 
  Peter



More information about the Pm-utils mailing list