Sdk: component_writeInfo missing in ure libraries

Hallo, I am writing client wchich should access openoffice server over the network. I have actually written it successfully with openoffice v3.2, but when I try to compile my stuff with v 3.4 regcomp refuses to register modules as follows:

/opt//openoffice.org/basis-link/ure-link/bin/regcomp -register -r scd.rdb -c uuresolver.uno.so
uuresolver.uno.so
register component 'uuresolver.uno.so' in registry 'scd.rdb' failed!
error (CannotRegisterImplementationException): uuresolver.uno.so: cannot get symbol: component_writeInfo

I checked the actual module with nm and component_writeInfo symbol is really missing from it.
What I am doing wrong?

Hi @derUhu, Are you testing against LibreOffice or OpenOffice ?

I tested with both libreoffice, available in centos 6 (3.4.5) and with apache openoffice 3.4.1 that I downloaded from http://www.openoffice.org/download. Both have the same error

About answer N1: I am aware that component_writeInfo is deprecated. But I do not use it myself. The error occurs when I run the utility regcomp, which comes with openoffice to register some ure modules which I need.

I’m not very familiar with the component_writeInfo() functionality, but I think that it might be deprecated:

http://lists.freedesktop.org/archives/libreoffice/2011-April/009992.html

mmeeks: I just finished the audit of component_writeInfo usage - which (it
seems) is the sign of bit-rotted code (for built-in components at
least).

in a follow-up email:

kendy: So - what we need is to get rid of the component_writeInfo in the KDE3
code, and instead create the new xml .component file - similar to the
Gnome one, I’d say.

In the API:
http://api.libreoffice.org/docs/cpp/ref/factory_8hxx.html#afc3aeb2324f91075147338a0afeeec4b


UPDATE: Okay, I’m understanding more and more of the problem as we go along! I now understand that you’re trying to run regcomp, however it looks like support for regcomp has been removed from LibreOffice core:

This commit from December seems to cut out the last support for regcomp: http://cgit.freedesktop.org/libreoffice/core/commit/?id=b7215602c00f392e30e0e23e21f32dd37fba07dd

Does the documentation give you information about what function or alternate solution you should use instead of regcomp?

@derUhu – Update? you still interested in an answer to this question?