Indeed. It's because the interface with the kernel has changed. I tried to correct it myself, and now libgtop compiles on my machine but doesn't show the right numbers :-) I'll send you the "compiles but doesn't work"-patch if I find the time after work.
On 10/9/07, Ferruccio Zamuner <[EMAIL PROTECTED]> wrote: > Hello, > > libgtop doesn't compile on dfbsd1.10.1 and it compromise every > /usr/pkg/meta-pkgs/gnome installation. > > > cc -DHAVE_CONFIG_H -I. -I../.. -I../../sysdeps/freebsd -I../../include > -I/usr/pkgsrc/sysutils/libgtop/work/.buildlink/include/glib/glib-2.0 > -I/usr/pkgsrc/sysutils/libgtop/work/.buildlink/lib/glib-2.0/include > -DHAVE_STATVFS_READS_COUNT -DHAVE_STATVFS_WRITES_COUNT > -I/usr/pkgsrc/sysutils/libgtop/work/.buildlink/include -Winline -Wall > -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes > -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -MT > proclist.lo -MD -MP -MF .deps/proclist.Tpo -c proclist.c -fPIC -DPIC -o > .libs/proclist.o > proclist.c: In function `glibtop_get_proclist_p': > proclist.c:106: error: structure has no member named `kp_proc' > proclist.c:106: error: `SRUN' undeclared (first use in this function) > proclist.c:106: error: (Each undeclared identifier is reported only once > proclist.c:106: error: for each function it appears in.) > proclist.c:109: error: structure has no member named `kp_eproc' > proclist.c:111: error: structure has no member named `kp_proc' > gmake[3]: *** [proclist.lo] Error 1 > gmake[3]: Leaving directory > `/usr/pkgsrc/sysutils/libgtop/work/libgtop-2.14.2/sysdeps/freebsd' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > `/usr/pkgsrc/sysutils/libgtop/work/libgtop-2.14.2/sysdeps' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/libgtop/work/libgtop-2.14.2' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop. > bmake: stopped in /usr/pkgsrc/sysutils/libgtop > *** Error code 1 > > Stop. > bmake: stopped in /usr/pkgsrc/sysutils/libgtop > > I've notified it with bugzilla and here there is the answer: > ************* > http://bugzilla.gnome.org/show_bug.cgi?id=483234 > > libgtop | bsd | Ver: 2.14.x > > Benoît Dejean changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |[EMAIL PROTECTED] > > > > > ------- Comment #1 from Benoît Dejean 2007-10-04 08:47 UTC ------- > Please try the latest stable version 2.20.0 > ************* > > Of course version 2.20.0 has still no knowledge about dfbsd process > structure, and current 2.14 patches don't apply to 2.20.0. > > > Bye, \fer >
