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




On 2012-03-23 10:13, Stephan Bergmann wrote:
On 03/23/2012 09:09 AM, Noel Grandin wrote:
I'm needing to modify some code in the UCB module, but I get linking
errors because I'm referencing comphelper.
Do I need to modify the makefile or is this one of those modules that
are below comphelper?

Module ucb already depends on module comphelper (see the first line of ucb/prj/build.lst). Do you mean module ucbhelper instead (that's the one that indeed is below comphelper)? Or what are your exact errors.



The error looks like:

[ build CXX ] ucb/source/ucp/package/pkgresultset.cxx
[ build DEP ] LNK:Library/libucppkg1.so
[ build LNK ] Library/libucpftp1.so
[ build LNK ] Library/libucphier1.so
[ build LNK ] Library/libucppkg1.so
[ build LNK ] Library/ucptdoc1.uno.so
/home/noel/libo/workdir/unxlngx6.pro/CxxObject/ucb/source/ucp/ftp/ftpdynresultset.o:ftpdynresultset.cxx:function ftp::DynamicResultSet::DynamicResultSet(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, rtl::Reference<ftp::FTPContent> const&, com::sun::star::ucb::OpenCommandArgument2 const&, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> const&, ftp::ResultSetFactory*): error: undefined reference to 'comphelper::getComponentContext(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)'
collect2: ld returned 1 exit status
/home/noel/libo/workdir/unxlngx6.pro/CxxObject/ucb/source/ucp/hierarchy/dynamicresultset.o:dynamicresultset.cxx:function hierarchy_ucp::DynamicResultSet::DynamicResultSet(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, rtl::Reference<hierarchy_ucp::HierarchyContent> const&, com::sun::star::ucb::OpenCommandArgument2 const&): error: undefined reference to 'comphelper::getComponentContext(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)'
collect2: ld returned 1 exit status
make[1]: *** [/home/noel/libo/workdir/unxlngx6.pro/LinkTarget/Library/libucpftp1.so] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/home/noel/libo/workdir/unxlngx6.pro/LinkTarget/Library/libucphier1.so] Error 1
make: *** [ucb] Error 2


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.