[Pm-utils] pm-utils and pmu hardware.
pjones at redhat.com
Tue May 2 12:08:32 PDT 2006
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.
> [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.
More information about the Pm-utils