libgtop2 build failed

Conrad J. Sabatier conrads at cox.net
Wed Nov 17 11:04:01 PST 2004


On Tue, 16 Nov 2004 09:17:42 +0800, wsk <wsk at gddsn.org.cn> wrote:

> hi,list:
> build the libgtop2 failed with following errors:
> cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
> -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd
> -I../../include-I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -Winline-Wall -std=gnu89
> -Wchar-subscripts -Wmissing-declarations-Wmissing-prototypes
> -Wnested-externs -Wpointer-arith -Wcast-align-Wsign-compare
> -fno-strict-aliasing -O2 -fno-strict-aliasing
> -pipe-I/usr/X11R6/include
> -DGTOPLOCALEDIR=\"/usr/X11R6/share/locale\"-DLIBGTOP_VERSION=\"2.8.1\"
> -DLIBGTOP_SERVER_VERSION=\"5\"-DLIBGTOP_VERSION_CODE=2008001
> -DLIBGTOP_SERVER=\"/usr/X11R6/bin/libgtop_server2\"
> -I/usr/local/include-Winline -Wall -std=gnu89 -Wchar-subscripts
> -Wmissing-declarations-Wmissing-prototypes -Wnested-externs
> -Wpointer-arith -Wcast-align-Wsign-compare -fno-strict-aliasing -O2
> -fno-strict-aliasing -pipe -c procmap.c -fPIC -DPIC -o .libs/procmap.o
> procmap.c: In function `glibtop_get_proc_map_p':
> procmap.c:275: error: structure has no member named `v_cachedid'
> procmap.c:276: error: structure has no member named `v_cachedfs'
> gmake[3]: *** [procmap.lo] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/devel/libgtop2/work/libgtop-2.8.1/sysdeps/freebsd'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/devel/libgtop2/work/libgtop-2.8.1/sysdeps'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/devel/libgtop2/work/libgtop-2.8.1' gmake: ***
> [all-recursive-am] Error 2*** Error code 2
> 
> Stop in /usr/ports/devel/libgtop2.
> 
> 
> any ideas?

I assume you're running CURRENT.  I posted a patch as a followup to a
similar thread on the freebsd-hackers list entitled "devel/libgtop2
cannot build".  Check the archives if you're not subscribed to that
list.


-- 
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"


More information about the freebsd-gnome mailing list