build of gnome2/libgtop2 fails

Guillermo García Rojas garciarojas at solobsd.org
Sat Sep 25 12:49:08 PDT 2004


I got the same.
Firefox and Mozilla break too.

On Sat, 25 Sep 2004 19:35:50 +0200, Benedikt Müller wrote:

> Hi,
> 
> I just wanted to install gnome2 from the freebsd-ports.
> But libgtop2 fails to build.
> Here's the output of make (I did directly from the libgtop-directory 
> where it fails, when I'm in /usr/ports/x11/gnome2 and run make install 
> there, the same error occours):
> 
> su-2.05b# pwd
> /usr/ports/devel/libgtop2/work/libgtop-2.6.0/sysdeps/freebsd
> su-2.05b# make
> /bin/sh ../../libtool --mode=compile 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           -Wall   -Wchar-subscripts 
> -Wmissing-declarations -Wmissing-prototypes   -Wnested-externs 
> -Wpointer-arith   -Wcast-align -Wsign-compare     -fno-strict-aliasing 
>    -O -pipe   -I/usr/X11R6/include 
> -DGTOPLOCALEDIR=\"/usr/X11R6/share/locale\" -DLIBGTOP_VERSION=\"2.6.0\" 
> -DLIBGTOP_SERVER_VERSION=\"5\" -DLIBGTOP_VERSION_CODE=2006000 
> -DLIBGTOP_SERVER=\"/usr/X11R6/bin/libgtop_server2\" 
> -I/usr/local/include  -Wall        -Wchar-subscripts 
> -Wmissing-declarations -Wmissing-prototypes      -Wnested-externs 
> -Wpointer-arith        -Wcast-align -Wsign-compare 
> -fno-strict-aliasing       -O -pipe -c mem.c
>   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 -Wall 
> -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 
> -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare 
> -fno-strict-aliasing -O -pipe -I/usr/X11R6/include 
> -DGTOPLOCALEDIR=\"/usr/X11R6/share/locale\" -DLIBGTOP_VERSION=\"2.6.0\" 
> -DLIBGTOP_SERVER_VERSION=\"5\" -DLIBGTOP_VERSION_CODE=2006000 
> -DLIBGTOP_SERVER=\"/usr/X11R6/bin/libgtop_server2\" -I/usr/local/include 
> -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 
> -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare 
> -fno-strict-aliasing -O -pipe -c mem.c  -fPIC -DPIC -o .libs/mem.o
> In file included from ../../include/glibtop/global.h:66,
>                   from ../../glibtop.h:27,
>                   from mem.c:24:
> /usr/include/sys/param.h:219: warning: `MIN' redefined
> /usr/local/include/glib-2.0/glib/gmacros.h:154: warning: this is the 
> location of the previous definition
> /usr/include/sys/param.h:220: warning: `MAX' redefined
> /usr/local/include/glib-2.0/glib/gmacros.h:151: warning: this is the 
> location of the previous definition
> mem.c: In function `glibtop_get_mem_p':
> mem.c:174: structure has no member named `v_page_count'
> mem.c:192: structure has no member named `v_active_count'
> mem.c:192: structure has no member named `v_inactive_count'
> mem.c:193: structure has no member named `v_free_count'
> mem.c:201: structure has no member named `v_cache_count'
> mem.c:207: structure has no member named `v_wire_count'
> mem.c:127: warning: `v_used_count' might be used uninitialized in this 
> function
> mem.c:128: warning: `v_total_count' might be used uninitialized in this 
> function
> mem.c:129: warning: `v_free_count' might be used uninitialized in this 
> function
> *** Error code 1
> 
> Stop in /usr/ports/devel/libgtop2/work/libgtop-2.6.0/sysdeps/freebsd.
> 
> Have I messed anything up in the ports?
> The system is up2date (biuldworld and ports this day).
> 
> Regards,
> Ben






More information about the Users mailing list