Hi,

tried to build powertop GIT on my ASUS WL-500gP v2 Debian-MIPSEL
installation (3.4 Watts and falling), got the following build error:

# make
cc -O1 -g -Wall  -W -Wshadow   -c -o perf.o perf.c
perf.c: In function 'sys_perf_event_open':
perf.c:68: error: '__NR_perf_event_open' undeclared (first use in this function)
perf.c:68: error: (Each undeclared identifier is reported only once
perf.c:68: error: for each function it appears in.)
make: *** [perf.o] Error 1

Disabling this code makes powertop work, but obviously this problem should get 
fixed.
Since I wasn't immediately sure which syscall value to take from where, I 
decided to
simply report it for now.

Thanks,

Andreas Mohr

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to