system-load-plugin-0.2.3

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Fri Jul 4 12:47:16 CEST 2003


On Fri, 04, Jul 2003, Joakim Andreasson wrote:

Riccardo,

> >   I'm trying to solve the errors you reported, googled a bit
> > and maybe i've found what was wrong...
> > 
> > could you try xfce4-systemload-plugin-0.2.3?
> 
> Still the same eroor, it seems:
> 
> In file included from cpu.c:82:
> /usr/include/devstat.h:76: `CPUSTATES' undeclared here (not in a
> function)
> cpu.c: In function `read_cpuload':
> cpu.c:140: `KERN_CP_TIME' undeclared (first use in this function)
> cpu.c:140: (Each undeclared identifier is reported only once
> cpu.c:140: for each function it appears in.)
> cpu.c:140: initializer element is not constant
> cpu.c:140: (near initialization for `mib[1]')
> cpu.c:141: `CPUSTATES' undeclared (first use in this function)
> cpu.c:150: `CP_USER' undeclared (first use in this function)
> cpu.c:151: `CP_NICE' undeclared (first use in this function)
> cpu.c:152: `CP_SYS' undeclared (first use in this function)
> cpu.c:153: `CP_IDLE' undeclared (first use in this function)
> *** Error code 1

FreeBSD is sometimes a bit problematic with the order header files are
included. The manpages tell you the order the header files need to be
included. That may fix the problem.

Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/



More information about the Xfce4-dev mailing list