From owner-freebsd-office@FreeBSD.ORG Thu Dec 20 17:49:47 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 600DDF93; Thu, 20 Dec 2012 17:49:47 +0000 (UTC) (envelope-from rjk@wintek.com) Received: from local.wintek.com (local.wintek.com [72.12.201.234]) by mx1.freebsd.org (Postfix) with ESMTP id 155EB8FC15; Thu, 20 Dec 2012 17:49:46 +0000 (UTC) Received: from rjk.wintek.local (172.28.1.248) by local.wintek.com (172.28.1.234) with Microsoft SMTP Server (TLS) id 8.1.436.0; Thu, 20 Dec 2012 12:48:34 -0500 Message-ID: <50D34F72.60202@wintek.com> Date: Thu, 20 Dec 2012 12:48:34 -0500 From: Richard Kuhns Organization: Wintek Corporation User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: libreoffice 3.5.7_1 and icu-50.1 References: <20121220124451.GA16972@ithaqua.etoilebsd.net> In-Reply-To: <20121220124451.GA16972@ithaqua.etoilebsd.net> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: "office@freebsd.org" , "freebsd-ports@freebsd.org" , Luca Pizzamiglio X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: rjk@wintek.com List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 17:49:47 -0000 On 12/20/12 07:44, Baptiste Daroussin wrote: > On Thu, Dec 20, 2012 at 01:30:37PM +0100, Luca Pizzamiglio wrote: >> Hi, >> >> I've some trouble to compile libreoffice 3.5.7_1 after icu update to 50.1 >> version >> >> the problem is located in i18npool module and the error is during the >> link phase: >> >> /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.7.2/workdir/ >> unxfbsdi.pro/CxxObject/i18npool/source/collator/gencoll_rule.o: In >> function `sal_main_with_args(int, char**)': >> gencoll_rule.cxx:(.text+0x3e5): undefined reference to >> `icu_50::UnicodeString::UnicodeString(char16_t const*)' >> >> >> In details, the source code of i18npool/source/collator/gencoll_rule.cxx >> line that creates the problem is the 119: >> >> RuleBasedCollator *coll = new RuleBasedCollator(reinterpret_cast> UChar *>(Obuf.getStr()), status); // UChar != sal_Unicode in MinGW >> >> effectively, objdump confirm a problem with UnicodeString constructors. >> In gencoll_rule.o the symbol is: >> >> 00000000 *UND* 00000000 _ZN6icu_5013UnicodeStringC1EPKDs >> >> but constructor symbols in /usr/local/lib/libicuuc.so.50.1 are: >> >> 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 >> >> 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. >> >> My system is STABLE-8 i386. >> >> any suggestion to solve this issue? >> >> 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 > I had the same problem, but after rebuilding icu-50.1 with gcc the libreoffice rebuild then went without a hitch. FreeBSD 9.1-PRERELEASE #12 r243289 -- Richard Kuhns My Desk: 765-269-8541 Wintek Corporation Internet Support: 765-269-8503 427 N 6th Street Consulting: 765-269-8504 Lafayette, IN 47901-2211 Accounting: 765-269-8502