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 [email protected] _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
