Mikaël,
Mikaël De Bie wrote:
Hi,
I'm trying to build a add-in for openoffice-calc, but I get an error
while compiling.
Here's my configuration :
PC : laptop Toshiba satellite P4
OS : Linux - Ubuntu 6.06 LTS (Dapper Drake)
gcc : I used gcc-3.4.1 (the one used to compile the version I've installed)
The OpenOffice installed is 2.0.3 downloaded from
http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.0.3rc7/
I've downloaded the source of openoffice2.0.3 from
http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.0.3rc7/OOo_2.0.3_LinuxIntel_solver.tar.gz
The add-in I want to compile is the scsolver created by Kohei Yoshida
(http://kohei.us/ooo/solver/)
I've downloaded the scsolver sources from
http://cvs.gnome.org/viewcvs/ooo-build/scratch/scsolver/
Here is the error I get :
------------------------------------------------------------------------------------------------
../../../../solver/680/unxlngi6.pro/bin/regcomp -register -r
scsolver.uno.rdb -c scsolver.uno.so
register component 'scsolver.uno.so' in registry 'scsolver.uno.rdb' failed!
error (CannotRegisterImplementationException): loading component library
failed: scsolver.uno.so
------------------------------------------------------------------------------------------------
The trace.log of the command
"strace -f -F -o /tmp/trace.log
../../../../solver/680/unxlngi6.pro/bin/regcomp -register -r
scsolver.uno.rdb -c scsolver.uno.so"
is available at this url :
http://ece.fsa.ucl.ac.be/mdebie/work/ooo/trace.log
The complete output of the make command can be found at this url :
http://ece.fsa.ucl.ac.be/mdebie/work/ooo/make_output
I've also run the command ldd -r scsolover.uno.so, the output follows at
the end of the mail.
Can anybody help or indicate me who to contact to be able to debugg
regcomp or the library scsolver.uno.so to indentify the problem.
taking a look at your ldd output, I see some "scsolver::..." symbols to
be undefined. This may be the reason that you are not able to load
"scsolver.uno.so". You may want to pipe the output of ldd through
"c++filt", to demangle the symbols.
Thank you for your attention,
You are welcome ... :-)
Mikaël
Kay
undefined symbol: _ZN8scsolver15NlpModelBuilderC1EPNS_10SolverImplE
undefined symbol: _ZN8scsolver15NlpModelBuilder26setObjectiveFormulaAddressEN3com3sun4star5table11CellAddressE
undefined symbol: _ZN8scsolver12OptionDialog12setModelTypeENS_12OptModelTypeE
...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]