system-load-plugin-0.2.0

Joakim Andreasson joakim.andreasson at gmx.net
Fri Jul 4 06:21:07 CEST 2003


On Fri, 4 Jul 2003 00:57:03 +0200
Riccardo Persichetti <riccardo.persichetti at tin.it> wrote:

> Hi Joakim,
> 
>   could you try version 0.2.2, now it should work
> on freebsd too...

I had to change the inclusion in cpu.c from sys/sched.h to sched.h, so
that has to be changed on freebsd, but then:


In file included from cpu.c:75:
/usr/include/sys/param.h:213: warning: `MIN' redefined
/usr/local/include/glib-2.0/glib/gmacros.h:144: warning: this is the
location of the previous definition
/usr/include/sys/param.h:214: warning: `MAX' redefined
/usr/local/include/glib-2.0/glib/gmacros.h:141: warning: this is the
location of the previous definition
cpu.c: In function `read_cpuload':
cpu.c:128: `KERN_CP_TIME' undeclared (first use in this function)
cpu.c:128: (Each undeclared identifier is reported only once
cpu.c:128: for each function it appears in.)
cpu.c:128: initializer element is not constant
cpu.c:128: (near initialization for `mib[1]')
cpu.c:129: `CPUSTATES' undeclared (first use in this function)
cpu.c:138: `CP_USER' undeclared (first use in this function)
cpu.c:139: `CP_NICE' undeclared (first use in this function)
cpu.c:140: `CP_SYS' undeclared (first use in this function)
cpu.c:141: `CP_IDLE' undeclared (first use in this function)
*** Error code 1

Stop in /usr/home/j/src/xfce4-systemload-plugin-0.2.2/panel-plugin.
*** Error code 1

Stop in /usr/home/j/src/xfce4-systemload-plugin-0.2.2.
*** Error code 1

Stop in /usr/home/j/src/xfce4-systemload-plugin-0.2.2.


> 
> get as usual from http://ricpersi.altervista.org
> 
> regards,
> 
>   riccardo
> 
> 
> -- 
> .-----------------------------.
> | riccardo.persichetti at tin.it |
> `-----------------------------'
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
> 


---



More information about the Xfce4-dev mailing list