incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Fischer ...@a-w-f.de>
Subject Re: AOO fails to compile in sdext: makefile.mk problem?
Date Fri, 11 May 2012 16:02:28 GMT
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
>
>
>
> On Thu, May 10, 2012 at 12:00 PM, Andre Fischer<af@a-w-f.de>  wrote:
>> Hi,
>>
>> this should be fixed now.  SVN revision is 1336570.
>>
>> -Andre
>>
>>
>> On 10.05.2012 08:00, Damjan Jovanovic wrote:
>>>
>>> Hi
>>>
>>> AOO (from latest SVN) is failing to compile for me in sdext:
>>>
>>> ---snip---
>>> Entering /home/user/ooo/main/sdext/source/presenter
>>>
>>> dmake:  makefile.mk:  line 297:  Error: -- Missing targets or attributes
>>> in rule
>>>
>>> 1 module(s):
>>>         sdext
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making
>>> /home/user/ooo/main/sdext/source/presenter
>>>
>>> When you have fixed the errors in that module you can resume the build
>>> by running:
>>>
>>>         build --from sdext
>>> ---snip---
>>>
>>> The only thing I can find on Google is a post to the old OO.o mailing
>>> list, with the same error in the same line, saying that there could be
>>> a mismatched .IF/.THEN in main/sdext/source/presenter/makefile.mk
>>>
>>> (http://openoffice.2283327.n4.nabble.com/sdext-source-presenter-makefile-mk-IF-ENDIF-mismatch-td3244297.html).
>>>
>>> This is on Lubuntu 11.10 on an amd64 system. Commands used were:
>>> autoconf
>>> ./configure
>>> --with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
>>> --with-epm-url=http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz
>>> --enable-category-b --disable-build-mozilla --enable-minimizer
>>> --enable-opengl  --enable-dbus --with-mingwin=i586-mingw32msvc-g++
>>> cd moz/zipped/
>>> wget
>>> http://www.openoffice.org/tools/moz_prebuild/OOo3.2/LINUXGCCXruntime.zip
>>> wget http://www.openoffice.org/tools/moz_prebuild/OOo3.2/LINUXGCCXlib.zip
>>> wget http://www.openoffice.org/tools/moz_prebuild/OOo3.2/LINUXGCCXinc.zip
>>> cd ../..
>>> ./bootstrap
>>> source LinuxX86-64Env.Set.sh
>>> cd instsetoo_native/
>>> build --all -P2 -- -P2
>>>
>>> Please help? I am compiling AOO because I want to contribute to it.
>>>
>>> Damjan Jovanovic

Mime
View raw message