Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hello all
I met a building error in sot module, which is described in detail as
follows:
OS: fedora17 or ubuntu12.10
Compiler: gcc4.7 g++4.7
Source code: OOO330_m20
=============
Building module sot
=============
Entering /mnt/main/sot/inc
Entering /mnt/main/sot/source/sdstor
Entering /mnt/main/sot/source/base
Entering /mnt/main/sot/source/unoolestorage
Entering /mnt/main/sot/util
Making: libsotlx.so
../unxlngx6.pro/slo/ucbstorage.o: In function `UCBStorage_Impl::Commit()':
ucbstorage.cxx:(.text+0xc948): undefined reference to `non-virtual thunk
to utl::OOutputStreamWrapper::acquire()'
/usr/bin/ld: ../unxlngx6.pro/slo/ucbstorage.o: relocation R_X86_64_PC32
against undefined symbol `_ZThn40_N3utl20OOutputStreamWrapper7acquireEv'
can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
dmake: Error code 1, while making '../unxlngx6.pro/lib/libsotlx.so'
I tried to set CC="gcc -fPIC" in LinuxX86-64Env.set.sh and add CFLAGSCC=
-fPIC -pipe $(ARCH_FLAGS) to unxlng.mk, but didn't succeed.
So is there anyone that knows how to solve it? Thanks in advance.
Regards,
-- 

Dehua Xu
dehua.xu@cs2c.com.cn

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.