FreeBSD compile problem in zvt



Hi,

I just got gnome-libs 0.99.3, and the compilation failed in zvt/subshell.c:

gcc28 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H -I../support -I../support -I../intl -I../intl -I/home/lyndon//include -I/home/lyndon/include -I/usr/X11R6/include -I/home/lyndon//lib/glib/include -I/home/lyndon//include -I/home/lyndon/include -I/usr/X11R6/include -I/home/lyndon//lib/glib/include -I/home/lyndon//include -I/home/lyndon/include -I/usr/X11R6/include -DGNOMESBINDIR=\"/home/lyndon//sbin\" -I/home/lyndon/include -I/usr/X11R6/include -I/home/lyndon//lib/glib/include -I/home/lyndon//include -g -O2 -Wall -Wno-unused -c -fPIC -DPIC subshell.c -o subshell.lo
In file included from subshell-includes.h:9,
                 from subshell.c:25:
/usr/include/sys/resource.h:58: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:59: field `ru_stime' has incomplete type
subshell.c: In function `receive_fd':
subshell.c:139: warning: assignment from incompatible pointer type
make: *** [subshell.lo] Error 1



If I delete <sys/resource.h> from subshell-includes.h, everything compiles ok.
I'm running FreeBSD 2.2.7-release.

Lyndon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]