I am using Ubuntu 11.10, which is known to have problems linking (http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201201.mbox/%[email protected]%3E).
That patch doesn't help (I've done "build --from binfilter --prepare" then "build --from binfilter"). And you won't believe it: it works with ld.gold, but NOT with ld.bfd... Maybe Ubuntu 11.10 swapped them around? So thank you everyone, it compiles now. Damjan On Fri, May 11, 2012 at 6:42 PM, Pedro Giffuni <[email protected]> wrote: > Please try this patch in main. > > cheers, > > Pedro. > > > > > On 05/11/12 11:02, Andre Fischer wrote: >> >> On 11.05.2012 17:55, Damjan Jovanovic wrote: >>> >>> I don't know whether it's fixed, because in the latest SVN, there is >>> now a linking problem: >>> >>> Entering /home/user/ooo/main/binfilter/filter/source/bf_offwrp >> >> >> I am quite sure that binfilter is independent of sdext (almost any module >> should be independent of sdext). This looks like a different problem. >> >> -Andre >> >>> >>> ... >>> Making: libbf_wrapper.so >>> ../../../unxlngx6.pro/lib/libbf_sdlib.a(sd_sdlib.o): In function >>> `binfilter::SdDrawDocShell::RegisterFactory(unsigned short)': >>> sd_sdlib.cxx:(.text+0x464): undefined reference to >>> `binfilter::SvFactory::Register()' >>> ../../../unxlngx6.pro/lib/libbf_sdlib.a(sd_sdlib.o): In function >>> `binfilter::SdGraphicDocShell::RegisterFactory(unsigned short)': >>> sd_sdlib.cxx:(.text+0x16b4): undefined reference to >>> `binfilter::SvFactory::Register()' >>> ../../../unxlngx6.pro/lib/libbf_ysch.a(sch_schlib.o): In function >>> `binfilter::SchChartDocShell::RegisterFactory(unsigned short)': >>> sch_schlib.cxx:(.text+0x454): undefined reference to >>> `binfilter::SvFactory::Register()' >>> ../../../unxlngx6.pro/lib/libbf_ysm.a(starmath_smlib.o): In function >>> `binfilter::SmDocShell::RegisterFactory(unsigned short)': >>> starmath_smlib.cxx:(.text+0x7f4): undefined reference to >>> `binfilter::SvFactory::Register()' >>> ../../../unxlngx6.pro/lib/libbf_swlib.a(sw_swlib.o): In function >>> `binfilter::SwIoSystem::IsValidStgFilter(binfilter::SvStorage&, >>> binfilter::SfxFilter const&)': >>> sw_swlib.cxx:(.text+0x355): undefined reference to >>> `binfilter::SvStorage::OpenSotStream(String const&, unsigned short, >>> short)' >>> ../../../unxlngx6.pro/lib/libbf_swlib.a(sw_swlib.o): In function >>> `binfilter::SwIoSystem::GetFileFilter(String const&, String const&, >>> binfilter::SfxMedium*)': >>> sw_swlib.cxx:(.text+0x1bc4): undefined reference to >>> `binfilter::SvStorage::IsStorageFile(String const&)' >>> sw_swlib.cxx:(.text+0x1bf6): undefined reference to >>> `binfilter::SvStorage::SvStorage(String const&, unsigned short, >>> short)' >>> ../../../unxlngx6.pro/lib/libbf_swlib.a(sw_swlib.o): In function >>> `binfilter::SwDocShell::RegisterFactory(unsigned short)': >>> sw_swlib.cxx:(.text+0xfe4): undefined reference to >>> `binfilter::SvFactory::Register()' >>> ../../../unxlngx6.pro/lib/libbf_swlib.a(sw_swlib.o): In function >>> `binfilter::SwWebDocShell::RegisterFactory(unsigned short)': >>> sw_swlib.cxx:(.text+0x1d04): undefined reference to >>> `binfilter::SvFactory::Register()' >>> ../../../unxlngx6.pro/lib/libbf_swlib.a(sw_swlib.o): In function >>> `binfilter::SwGlobalDocShell::RegisterFactory(unsigned short)': >>> sw_swlib.cxx:(.text+0x1f74): undefined reference to >>> `binfilter::SvFactory::Register()' >>> ../../../unxlngx6.pro/lib/libbf_sclib.a(sc_sclib.o): In function >>> `binfilter::ScDocShell::RegisterFactory(unsigned short)': >>> sc_sclib.cxx:(.text+0x6c4): undefined reference to >>> `binfilter::SvFactory::Register()' >>> collect2: ld returned 1 exit status >>> dmake: Error code 1, while making >>> '../../../unxlngx6.pro/lib/libbf_wrapper.so' >>> >>> 1 module(s): >>> binfilter >>> need(s) to be rebuilt >>> >>> Reason(s): >>> >>> ERROR: error 65280 occurred while making >>> /home/user/ooo/main/binfilter/filter/source/bf_offwrp >>> >>> When you have fixed the errors in that module you can resume the build >>> by running: >>> >>> build --from binfilter > > >
