openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From taotao.liu_cs2c <>
Subject Questions in building
Date Mon, 11 Mar 2013 08:55:35 GMT
Hello all
I met a building error in sot module, which is described in detail as
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
../ In function `UCBStorage_Impl::Commit()':
ucbstorage.cxx:(.text+0xc948): undefined reference to `non-virtual thunk
to utl::OOutputStreamWrapper::acquire()'
/usr/bin/ld: ../ 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 '../'
I tried to set CC="gcc -fPIC" in and add CFLAGSCC=
-fPIC -pipe $(ARCH_FLAGS) to, but didn't succeed.
So is there anyone that knows how to solve it? Thanks in advance.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message