From owner-freebsd-openoffice@FreeBSD.ORG Tue May 17 14:58:31 2005 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1785816A4CE for ; Tue, 17 May 2005 14:58:31 +0000 (GMT) Received: from mail.emmplus.ie (mail.emmplus.ie [66.154.97.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D0D143D67 for ; Tue, 17 May 2005 14:58:30 +0000 (GMT) (envelope-from jev@ecad.org) Received: from localhost (localhost [127.0.0.1]) by mail.emmplus.ie (Postfix) with ESMTP id 522E21556C for ; Tue, 17 May 2005 15:57:22 +0100 (IST) Received: from mail.emmplus.ie ([127.0.0.1]) by localhost (cohiba.emmplus.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07197-10 for ; Tue, 17 May 2005 15:57:21 +0100 (IST) Received: from [192.168.0.105] (unknown [64.180.101.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.emmplus.ie (Postfix) with ESMTP id 91697154F7 for ; Tue, 17 May 2005 15:57:21 +0100 (IST) Message-ID: <428A0664.1010401@ecad.org> Date: Tue, 17 May 2005 07:57:40 -0700 From: Jev User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050329) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-openoffice@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at emmplus.ie Subject: OOo_1.9m101 on amd64 X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 14:58:31 -0000 Hi All, Building OOo-2.0 from ports on a amd64 box yields the following error: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC Does setting CFLAGS get propagated down through all the different areas of the OO tree? I tried just setting CFLAGS to '-fPIC' to see if it had any affect but no joy. Any help appreciated, Thnaks, -Jev gandi# uname -a FreeBSD gandi 5.4-RC1 FreeBSD 5.4-RC1 #4: Tue Apr 5 12:39:43 PDT 2005 jev@gandi:/usr/obj/usr/src/sys/GANDI amd64 Full log: ============= Building project icu ============= /usr/ports/editors/openoffice-2.0-devel/work/icu ------------- mkdir ./unxfbsd.pro/misc/build/icu/source mkdir: ./unxfbsd.pro/misc/build/icu/source: File exists cd ./unxfbsd.pro/misc/build/icu/source && gmake && touch so_built_so_icu gmake[0]: Making `all' in `stubdata' gmake[1]: Entering directory `/usr/ports/editors/openoffice-2.0-devel/work/icu/unxfbsd.pro/misc/build/icu/source/stubdata' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/editors/openoffice-2.0-devel/work/icu/unxfbsd.pro/misc/build/icu/source/stubdata' gmake[0]: Making `all' in `common' gmake[1]: Entering directory `/usr/ports/editors/openoffice-2.0-devel/work/icu/unxfbsd.pro/misc/build/icu/source/common' g++-ooo -O -shared -Wl,-soname -Wl,libicuuc.so.26 -o libicuuc.so.26.0 putil.o uobject.o locmap.o mutex.o umutex.o udata.o ucmndata.o udatamem.o umapfile.o filestrm.o uresbund.o uresdata.o resbund.o cwchar.o uloc.o locid.o uhash.o uhash_us.o ucnv.o ucnv_bld.o ucnv_cb.o ucnv_cnv.o ucnv_err.o ucnv_io.o ucnvlat1.o ucnv_u7.o ucnv_u8.o ucnv_u16.o ucnv_u32.o ucnvmbcs.o ucnv2022.o ucnvhz.o ucnv_lmb.o ucnvscsu.o ucnvbocu.o ucnvisci.o unistr.o utf_impl.o ustring.o ustrcase.o cstring.o ustrfmt.o ustrtrns.o normlzr.o unorm.o unorm_it.o chariter.o schriter.o uchriter.o uiter.o uchar.o uprops.o propname.o ubidi.o ubidiwrt.o ubidiln.o ushape.o unames.o ucln_cmn.o uscript.o usc_impl.o umemstrm.o ucmp8.o uvector.o uvectr32.o digitlst.o brkiter.o brkdict.o ubrk.o dbbi.o dbbi_tbl.o rbbi.o rbbidata.o rbbinode.o rbbirb.o rbbiscan.o rbbisetb.o rbbistbl.o rbbitblb.o utrie.o uset.o cmemory.o caniter.o unifilt.o unifunct.o uniset.o usetiter.o util.o uenum.o icuserv.o iculserv.o icunotif.o ustrenum.o uidna.o strprep.o nameprep.o punycode.o ucat.o -L../data/out -L../stubdata -licudata -lpthread -lm /usr/bin/ld: /usr/local/gcc-ooo/x86_64-portbld-freebsd5.4/3.4.1/lib/gcc/x86_64-portbld-freebsd5.4/3.4.1/../../../libstdc++.a(eh_personality.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/gcc-ooo/x86_64-portbld-freebsd5.4/3.4.1/lib/gcc/x86_64-portbld-freebsd5.4/3.4.1/../../../libstdc++.a: could not read symbols: Bad value collect2: ld returned 1 exit status gmake[1]: *** [libicuuc.so.26.0] Error 1 gmake[1]: Leaving directory `/usr/ports/editors/openoffice-2.0-devel/work/icu/unxfbsd.pro/misc/build/icu/source/common' gmake: *** [all-recursive] Error 2 dmake: Error code 2, while making './unxfbsd.pro/misc/build/so_built_so_icu' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-2.0-devel/work/icu dmake: Error code 1, while making 'build_all' '---* tg_merge.mk *---' *** Error code 255 Stop in /usr/ports/editors/openoffice-2.0-devel.