From owner-freebsd-mono@FreeBSD.ORG Thu May 3 15:32:17 2012 Return-Path: Delivered-To: freebsd-mono@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED6C31065680 for ; Thu, 3 May 2012 15:32:16 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9F8DD8FC08 for ; Thu, 3 May 2012 15:32:16 +0000 (UTC) Received: by vbmv11 with SMTP id v11so1824132vbm.13 for ; Thu, 03 May 2012 08:32:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=jzbvYYQc/LJiDmtMXG6cVFbKJxYuHuwhWzL/pxbyur4=; b=Pxtrm4zvg6slk14Fi5qoHISIBz87HBrviZRo4/NkB1Keef3cl7FeCI9EMJKtq6yoQH jXUrMPmRF4FR1efY4g3+u5EM4IVa/mf46qWbkQ94CXd2mrr1VW1ztdg0mkYfXoFbfAXp GD3Lqq2E4XjTpZ2jrQGbYTjCWAz50gHCNTiFjR2VpLvuFPb2TVV+6Qqj9x4mPolZBloz UQTQ8KY+jBfc/uQiAdKfGKz7EfjXzYuQfptBCrpPqPZW36Dq3fxoBcOo3CBsGlydtyzO vCDDhyHxZC3UPsqeB2sPQOU9Kr+yAFR0znSeFl6TT/rFA+Uz6Pif5hPgIh54M4zwGbex R1+w== Received: by 10.220.150.205 with SMTP id z13mr830899vcv.19.1336058777735; Thu, 03 May 2012 08:26:17 -0700 (PDT) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.52.111.33 with HTTP; Thu, 3 May 2012 08:25:57 -0700 (PDT) In-Reply-To: <20120503150933.GA37603@FreeBSD.org> References: <20120503143529.GA17401@vps.govs.lv> <20120503150933.GA37603@FreeBSD.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 3 May 2012 23:25:57 +0800 X-Google-Sender-Auth: 8J9hn4xeWHEeKjz9xqsZSRYMDSk Message-ID: To: =?UTF-8?Q?Romain_Tarti=C3=A8re?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQl7Be4bZC33Hwu8WJglMDdeLMhJa3OrXPL/QTQN0hY3mQuNxhB6uRcGpQPnRfjvc9Tat+Cy Cc: Team Govs , freebsd-mono@freebsd.org Subject: Re: Mono 2.11.1 build failed X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 15:32:17 -0000 On Thu, May 3, 2012 at 11:09 PM, Romain Tarti=C3=A8re = wrote: > 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=3DCC =C2=A0 --mode=3Dlink cc =C2=A0-O2 -= pipe -fno-strict-aliasing -fno-strict-aliasing -Wdeclaration-after-statemen= t -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-pr= ototypes =C2=A0-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-c= ast-qual -Wwrite-strings -Wno-switch-enum -mno-tls-direct-seg-refs =C2=A0-p= thread -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 =C2=A0-lm =C2=A0 = -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: u= ndefined 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: u= ndefined 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: u= ndefined 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. =C2=A0Some OS detection might be failing. > Hi Romain, I got the same problem (devel/libinotify installed). The detection can be forced off by adding "CONFIGURE_ENV=3D ac_cv_header_sys_inotify_h=3Dno" to Makefile. Mono builds successfully with this patch. hth Regards, sunpoet > -- > Romain Tarti=C3=A8re =C2=A0http://people.FreeBSD.org= /~romain/ > pgp: 8234 9A78 E7C0 B807 0B59 =C2=A080FF BA4D 1D95 5112 336F (ID: 0x51123= 36F) > (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciat= ed) --=20 =C2=A0 Sunpoet Po-Chuan Hsieh =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B = 8CC0 DC44 247E CC57 E36B =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 http://people.FreeBSD.org/~sunpoet/pgpkeys.txt