gnome-libs build fails
- From: Lyndon Drake <lyndon stat auckland ac nz>
- To: Gnome List <gnome-list gnome org>
- Subject: gnome-libs build fails
- Date: Thu, 7 Jan 1999 12:55:42 +1300
Hi,
gnome-libs 0.99.2 and cvs from 10 minutes ago fails to build on FreeBSD 2.2.7.
>From looking at the header files, it seems that the definitions for things
like u_char aren't seen by the compiler, but I can't work out why not.
FWIW, gnome-libs 0.99.1 compiled without errors.
Any suggestions would be appreciated.
Lyndon
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 -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wp,-MD,.deps/subshell.p -c -fPIC -DPIC subshell.c
In file included from subshell-includes.h:50,
from subshell.c:29:
/usr/include/sys/socket.h:137: parse error before `u_char'
/usr/include/sys/socket.h:137: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:138: warning: type defaults to `int' in declaration of `sa_family'
/usr/include/sys/socket.h:138: warning: data definition has no type or storage class
/usr/include/sys/socket.h:140: parse error before `}'
/usr/include/sys/socket.h:147: parse error before `u_short'
/usr/include/sys/socket.h:147: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:148: warning: type defaults to `int' in declaration of `sp_protocol'
/usr/include/sys/socket.h:148: warning: data definition has no type or storage class
/usr/include/sys/socket.h:260: parse error before `u_int'
/usr/include/sys/socket.h:260: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:262: parse error before `msg_iovlen'
/usr/include/sys/socket.h:262: warning: type defaults to `int' in declaration of `msg_iovlen'
/usr/include/sys/socket.h:262: warning: data definition has no type or storage class
/usr/include/sys/socket.h:264: parse error before `msg_controllen'
/usr/include/sys/socket.h:264: warning: type defaults to `int' in declaration of `msg_controllen'
/usr/include/sys/socket.h:264: warning: data definition has no type or storage class
/usr/include/sys/socket.h:266: parse error before `}'
/usr/include/sys/socket.h:286: parse error before `u_int'
/usr/include/sys/socket.h:286: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:290: parse error before `}'
/usr/include/sys/socket.h:312: parse error before `u_short'
/usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:314: parse error before `}'
In file included from subshell.c:112:
/usr/include/sys/un.h:48: parse error before `u_char'
/usr/include/sys/un.h:48: warning: no semicolon at end of struct or union
/usr/include/sys/un.h:49: warning: type defaults to `int' in declaration of `sun_family'
/usr/include/sys/un.h:49: warning: data definition has no type or storage class
/usr/include/sys/un.h:51: parse error before `}'
subshell.c: In function `receive_fd':
subshell.c:131: storage size of `msg' isn't known
subshell.c:141: sizeof applied to an incomplete type
subshell.c:144: sizeof applied to an incomplete type
subshell.c:149: `u_char' undeclared (first use in this function)
subshell.c:149: (Each undeclared identifier is reported only once
subshell.c:149: for each function it appears in.)
subshell.c:149: parse error before `)'
subshell.c:149: arithmetic on pointer to an incomplete type
subshell.c:150: warning: control reaches end of non-void function
make[2]: *** [subshell.lo] Error 1
make[2]: Leaving directory `/usr/home/lyndon/src/cvs-stuff/gnome-libs/zvt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/home/lyndon/src/cvs-stuff/gnome-libs'
make: *** [all-recursive-am] Error 2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]