Ask Your Question
0

sdk: component_writeInfo missing in ure libraries. [closed]

asked 2013-01-17 02:29:22 +0200

der Uhu gravatar image

updated 2015-10-20 01:17:39 +0200

Alex Kemp gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-20 01:18:04.154639

Comments

Hi @der Uhu, Are you testing against LibreOffice or OpenOffice ?

qubit gravatar imagequbit ( 2013-01-17 04:01:57 +0200 )edit

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

der Uhu gravatar imageder Uhu ( 2013-01-17 09:25:23 +0200 )edit

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.

der Uhu gravatar imageder Uhu ( 2013-01-18 09:25:49 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2013-01-17 18:46:47 +0200

qubit gravatar image

updated 2013-01-18 09:49:15 +0200

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?

edit flag offensive delete link more

Comments

@der Uhu -- Update? you still interested in an answer to this question?

qubit gravatar imagequbit ( 2013-03-08 09:05:39 +0200 )edit

Question Tools

Stats

Asked: 2013-01-17 02:29:22 +0200

Seen: 268 times

Last updated: Jan 18 '13