Mono 2.11.1 build failed

Romain Tartière romain at FreeBSD.org
Thu May 3 15:09:35 UTC 2012


On Thu, May 03, 2012 at 05:35:29PM +0300, Team Govs wrote:
> gmake[3]: Entering directory `/usr/ports/lang/mono/work/mono-2.11.1/mono/metadata'
> ../../doltlibtool --quiet --tag=CC   --mode=link cc  -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch-enum -mno-tls-direct-seg-refs  -pthread -o pedump pedump.o libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la ../../libgc/libmonogc.la -L../../eglib/src -leglib -lm -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib  -lm   -pthread
> ./.libs/libmonoruntime.a(libmonoruntime_la-filewatcher.o): In function `ves_icall_System_IO_InotifyWatcher_AddWatch':
> /usr/ports/lang/mono/work/mono-2.11.1/mono/metadata/filewatcher.c:161: undefined reference to `inotify_add_watch'
> ./.libs/libmonoruntime.a(libmonoruntime_la-filewatcher.o): In function `ves_icall_System_IO_InotifyWatcher_RemoveWatch':
> /usr/ports/lang/mono/work/mono-2.11.1/mono/metadata/filewatcher.c:197: undefined reference to `inotify_rm_watch'
> ./.libs/libmonoruntime.a(libmonoruntime_la-filewatcher.o): In function `ves_icall_System_IO_InotifyWatcher_GetInotifyInstance':
> /usr/ports/lang/mono/work/mono-2.11.1/mono/metadata/filewatcher.c:142: undefined reference to `inotify_init'
> gmake[3]: *** [pedump] Error 1
> gmake[3]: Leaving directory `/usr/ports/lang/mono/work/mono-2.11.1/mono/metadata'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/ports/lang/mono/work/mono-2.11.1/mono'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/lang/mono/work/mono-2.11.1'
> gmake: *** [all] Error 2
> *** Error code 1

`uname -a` please ?

inotify belongs to Linux, we have kqueue(2) that's supposed to provide
the same features.  Some OS detection might be failing.

-- 
Romain Tartière <romain at FreeBSD.org>  http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 663 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mono/attachments/20120503/40cc81a5/attachment.pgp


More information about the freebsd-mono mailing list