[Mono-dev] eglib build failed
KISHIMOTO, Makoto
ksmakoto at dd.iij4u.or.jp
Sun May 2 06:47:52 EDT 2010
Hello.
In my amd64 FreeBSD 8 box, eglib build failed.
$ gmake
gmake all-recursive
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'
Making all in po
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/po'
Making all in mcs
(snip)
Making all in eglib
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake all-recursive
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
Making all in src
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../mono/eglib/src -I.. -I../../../mono/eglib/src -Wall -D_FORTIFY_SOURCE=2 -g -O2 -g -O0 -D_GNU_SOURCE -MT libeglib_la-garray.lo -MD -MP -MF .deps/libeglib_la-garray.Tpo -c -o libeglib_la-garray.lo `test -f 'garray.c' || echo '../../../mono/eglib/src/'`garray.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../mono/eglib/src -I.. -I../../../mono/eglib/src -Wall -D_FORTIFY_SOURCE=2 -g -O2 -g -O0 -D_GNU_SOURCE -MT libeglib_la-garray.lo -MD -MP -MF .deps/libeglib_la-garray.Tpo -c ../../../mono/eglib/src/garray.c -fPIC -DPIC -o .libs/libeglib_la-garray.o
In file included from ../../../mono/eglib/src/garray.c:30:
../../../mono/eglib/src/glib.h:673: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GPid'
../../../mono/eglib/src/glib.h:679: error: expected declaration specifiers or '...' before 'GPid'
gmake[4]: *** [libeglib_la-garray.lo] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
In glib.h, type pid_t is used but not included sys/types.h (or unistd.h).
Seems to need include sys/types.h .
Thank you.
More information about the Mono-devel-list
mailing list