On Tue, 2002-03-12 at 20:06, Stephen L. Palmer wrote:
> On:
> FreeBSD adam12.midearth.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat
> Mar  9 13:55:57 CST 2002 [EMAIL PROTECTED]:/usr2/obj/usr/src/sys/MIDEARTH  
>i386
> 
> make of libgtop fails with the following error, causing a make of
> /usr/ports/x11/gnome to fail...  any suggestions?

This patch should fix it.  Just replace the original
files/patch-sysdeps::freebsd::proctime::c with the attached version, and
rebuild.  I'm building a PR now.

Joe

> 
> [snip]
> cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
> -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd -I../../include
> -I../../intl -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
> -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
> -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0
> -I/usr/X11R6/include/gtk12 -I/usr/local/include
> -I/usr/local/include/glib12 -O -pipe -Wall -Wunused -I/usr/local/include
> -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES
> -I/usr/local/include -DGTOPLOCALEDIR=\"/usr/local/share/gnome/locale\"
> -DLIBGTOP_VERSION=\"1.0.13\" -DLIBGTOP_SERVER_VERSION=\"5\"
> -DLIBGTOP_VERSION_CODE=1000013
> -DLIBGTOP_SERVER=\"/usr/local/bin/libgtop_server\" -I/usr/local/include -O
> -pipe -Wall -Wunused -I/usr/local/include -c proctime.c  -fPIC -DPIC -o proctime.o
> proctime.c: In function `calcru':
> proctime.c:88: aggregate value used where an integer was expected
> proctime.c:69: warning: unused variable `tv'
> proctime.c: In function `glibtop_get_proc_time_p':
> proctime.c:130: warning: unused variable `pstats'
> proctime.c:128: warning: unused variable `u_addr'
> proctime.c: At top level:
> proctime.c:62: warning: `calcru' defined but not used
> gmake[3]: *** [proctime.lo] Error 1
> gmake[3]: Leaving directory
> `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr2/ports/devel/libgtop/work/libgtop-1.0.13'
> gmake: *** [all-recursive-am] Error 2
> *** Error code 2
> 
> Stop in /usr2/ports/devel/libgtop.
> *** Error code 1
> 
> Stop in /usr2/ports/devel/libgtop.
> *** Error code 1
> 
> Stop in /usr2/ports/devel/libgtop.
> *** Error code 1
> 
> Stop in /usr2/ports/devel/libgtop.
> root on adam12:/usr/ports/devel/libgtop %
> 
> 
> ---
> Stephen L. Palmer
> [EMAIL PROTECTED]
> 
> Receipt of this  email does not  entitle you to collect,
> use, or sell my personal information for any commercial,
> or  non-commercial purposes.   Non-solicited  commercial
> emails  sent  to my address will be  billed $500.00  per
> offense  for use of  storage space on my  mail  servers,
> bandwidth  fees, and personal  administrative  overhead.
> You have been warned.
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-ports" in the body of the message
> 

Attachment: proctime.c.gz
Description: GNU Zip compressed data

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to