fdo#46808 - [Easy Hack] Adapt UNO services to new-style

Noel Grandin noelgrandin at gmail.com
Fri Mar 23 01:18:52 PDT 2012

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
const&, rtl::Reference<ftp::FTPContent> const&, 
com::sun::star::ucb::OpenCommandArgument2 const&, 
const&, ftp::ResultSetFactory*): error: undefined reference to 
collect2: ld returned 1 exit status
const&, rtl::Reference<hierarchy_ucp::HierarchyContent> const&, 
com::sun::star::ucb::OpenCommandArgument2 const&): error: undefined 
reference to 
collect2: ld returned 1 exit status
make[1]: *** 
Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** 
Error 1
make: *** [ucb] Error 2

More information about the LibreOffice mailing list