From owner-freebsd-office@FreeBSD.ORG Thu Dec 20 12:44:55 2012 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8877CF0; Thu, 20 Dec 2012 12:44:55 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by mx1.freebsd.org (Postfix) with ESMTP id 0F5618FC18; Thu, 20 Dec 2012 12:44:54 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id gg4so1517069wgb.30 for ; Thu, 20 Dec 2012 04:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=UX+WbAHRn6X46i1FLIKm2oKYsaii33zU/V/nQdrr90E=; b=OZkRcnKxMHgJDSuEjrV+g+5PDfXB38M+kT7m0FAg6nAI58+sH68z/ainlVBhCniFc3 ZTXZtEhvOgJg4TD4g7ZMc8LRYVOu134MFRr2EeGs9dOMgzjCnQf/Jc6uXmigWxJz+ahj 6L1amu++w74h4ep8wDNcPezfvxwCy5e1cWEAMlirPq4B8e1fz5ZDVVkNWggydVvZKLt4 LRonDxz71WqIwrQHhxtgsm358wfsIZBFF/nK3X53I8uSLbQiJIu5j47CynJVC/QihGFp k7pS0jmP+Cgn6IRYwm8qxE0LyErUhWGVbmg8eliiTF8FgnnVBiCYoZ4jggu7/nq9itrK L2Rg== X-Received: by 10.194.76.165 with SMTP id l5mr17374316wjw.14.1356007493863; Thu, 20 Dec 2012 04:44:53 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id w5sm25076435wif.11.2012.12.20.04.44.53 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Dec 2012 04:44:53 -0800 (PST) Sender: Baptiste Daroussin Date: Thu, 20 Dec 2012 13:44:51 +0100 From: Baptiste Daroussin To: Luca Pizzamiglio Subject: Re: libreoffice 3.5.7_1 and icu-50.1 Message-ID: <20121220124451.GA16972@ithaqua.etoilebsd.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: office@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 12:44:55 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 20, 2012 at 01:30:37PM +0100, Luca Pizzamiglio wrote: > Hi, >=20 > I've some trouble to compile libreoffice 3.5.7_1 after icu update to 50.1 > version >=20 > the problem is located in i18npool module and the error is during the link > phase: >=20 > /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.7.2/workdir/ > unxfbsdi.pro/CxxObject/i18npool/source/collator/gencoll_rule.o: In functi= on > `sal_main_with_args(int, char**)': > gencoll_rule.cxx:(.text+0x3e5): undefined reference to > `icu_50::UnicodeString::UnicodeString(char16_t const*)' >=20 >=20 > In details, the source code of i18npool/source/collator/gencoll_rule.cxx > line that creates the problem is the 119: >=20 > RuleBasedCollator *coll =3D new RuleBasedCollator(reinterpret_cast UChar *>(Obuf.getStr()), status); // UChar !=3D sal_Unicode in MinGW >=20 > effectively, objdump confirm a problem with UnicodeString constructors. In > gencoll_rule.o the symbol is: >=20 > 00000000 *UND* 00000000 _ZN6icu_5013UnicodeStringC1EPKDs >=20 > but constructor symbols in /usr/local/lib/libicuuc.so.50.1 are: >=20 > 00970d0 g DF .text 00000085 Base > _ZN6icu_5013UnicodeStringC1EPKti > 00092590 g DF .text 00000079 Base > _ZN6icu_5013UnicodeStringC1EPKci > 000971f0 g DF .text 00000086 Base > _ZN6icu_5013UnicodeStringC1EPKt > 00092790 g DF .text 00000117 Base > _ZN6icu_5013UnicodeStringC1EPKciP10UConverterR10UErrorCode > 00095d00 g DF .text 000000e7 Base > _ZN6icu_5013UnicodeStringC1EPKciNS0_10EInvariantE > 00092490 g DF .text 0000007d Base > _ZN6icu_5013UnicodeStringC1EPKcS2_ > 00092390 g DF .text 00000078 Base > _ZN6icu_5013UnicodeStringC1EPKciS2_ > 00092690 g DF .text 0000007e Base > _ZN6icu_5013UnicodeStringC1EPKc >=20 > I've no idea how to fix it, it seems that at compile time the constructor > is recognized, but at link time it doesn't. >=20 > My system is STABLE-8 i386. >=20 > any suggestion to solve this issue? >=20 > Thanks in advance! > Best regards, > Luca > _______________________________________________ > freebsd-office@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-office > To unsubscribe, send any mail to "freebsd-office-unsubscribe@freebsd.org" Try building with WITH_GCC regards, Bapt --5vNYLRcllDrimb99 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDTCEMACgkQ8kTtMUmk6EwLYwCgwJIsCHv+6P/64OMxqpfFZIFa 0A8AnivxS271rI/iOhx6qbro7BxA6OBN =IquX -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--