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.

Thank you for your attention,

Mikaël

ldd -r scsolover.uno.so gives :
------------------------------------------------------------------------------------------------
[EMAIL PROTECTED]:~/ooo-build/scratch/scsolver/workben/addon_pkg/obj$ ldd -r scsolver.uno.so
undefined symbol: dlclose       (./scsolver.uno.so)
undefined symbol: dlopen        (./scsolver.uno.so)
undefined symbol: dlsym (./scsolver.uno.so)
undefined symbol: colamd_recommended    (./scsolver.uno.so)
undefined symbol: colamd_set_defaults   (./scsolver.uno.so)
undefined symbol: colamd        (./scsolver.uno.so)
undefined symbol: symamd        (./scsolver.uno.so)
undefined symbol: _ZN4cppu11OWeakObject12queryAdapterEv (./scsolver.uno.so)
undefined symbol: _ZTIN4cppu11OWeakObjectE      (./scsolver.uno.so)
undefined symbol: _ZN4cppu28createSingleComponentFactoryEPFN3com3sun4star3uno9ReferenceINS3_10XInterfaceEEERKNS4_INS3_17XComponentContextEEEERKN3rtl8OUStringERKNS3_8SequenceISE_EEP16_rtl_ModuleCount (./scsolver.uno.so)
undefined symbol: uno_type_any_assign   (./scsolver.uno.so)
undefined symbol: _ZN4cppu26component_getFactoryHelperEPKcPvS2_PKNS_19ImplementationEntryE (./scsolver.uno.so) undefined symbol: _ZN6ResMgr12CreateResMgrEPKcN3com3sun4star4lang6LocaleE (./scsolver.uno.so)
undefined symbol: _ZN4cppu11OWeakObject7acquireEv       (./scsolver.uno.so)
undefined symbol: rtl_string2UString    (./scsolver.uno.so)
undefined symbol: typelib_static_type_getByTypeClass    (./scsolver.uno.so)
undefined symbol: osl_getGlobalMutex    (./scsolver.uno.so)
undefined symbol: rtl_ustr_ascii_compare_WithLength     (./scsolver.uno.so)
undefined symbol: osl_incrementInterlockedCount (./scsolver.uno.so)
undefined symbol: osl_releaseMutex      (./scsolver.uno.so)
undefined symbol: _ZN8scsolver15NlpModelBuilderC1EPNS_10SolverImplE (./scsolver.uno.so) undefined symbol: _ZN8scsolver15NlpModelBuilder26setObjectiveFormulaAddressEN3com3sun4star5table11CellAddressE (./scsolver.uno.so) undefined symbol: _ZN8scsolver12OptionDialog12setModelTypeENS_12OptModelTypeE (./scsolver.uno.so) undefined symbol: _ZN4cppu23WeakImplHelper_getTypesEPNS_10class_dataE (./scsolver.uno.so)
undefined symbol: rtl_string_newFromStr (./scsolver.uno.so)
undefined symbol: _ZN6ResMgrD1Ev        (./scsolver.uno.so)
undefined symbol: rtl_ustr_toDouble     (./scsolver.uno.so)
undefined symbol: rtl_string_newFromStr_WithLength      (./scsolver.uno.so)
undefined symbol: _ZN4cppu25component_writeInfoHelperEPvS0_PKNS_19ImplementationEntryE (./scsolver.uno.so)
undefined symbol: rtl_uString_newFromAscii      (./scsolver.uno.so)
undefined symbol: _ZN4cppu30ImplHelper_getImplementationIdEPNS_10class_dataE (./scsolver.uno.so)
undefined symbol: rtl_string_newConcat  (./scsolver.uno.so)
undefined symbol: _ZNK8scsolver10OptionData12getModelTypeEv (./scsolver.uno.so)
undefined symbol: _ZN8scsolver5TimerC1Ed        (./scsolver.uno.so)
undefined symbol: uno_type_destructData (./scsolver.uno.so)
undefined symbol: uno_type_sequence_reference2One       (./scsolver.uno.so)
undefined symbol: uno_type_sequence_construct   (./scsolver.uno.so)
undefined symbol: rtl_uString_assign    (./scsolver.uno.so)
undefined symbol: _ZN6StringD1Ev        (./scsolver.uno.so)
undefined symbol: rtl_uString_new_WithLength    (./scsolver.uno.so)
undefined symbol: _ZN8scsolver5Timer4initEv     (./scsolver.uno.so)
undefined symbol: _ZN8scsolver15NlpModelBuilderD1Ev     (./scsolver.uno.so)
undefined symbol: rtl_uStringbuffer_insert      (./scsolver.uno.so)
undefined symbol: _ZNK8scsolver15NlpModelBuilder8getModelEv (./scsolver.uno.so) undefined symbol: _ZN8scsolver12OptionDialogC1EPNS_10SolverImplE (./scsolver.uno.so)
undefined symbol: _ZN4cppu11OWeakObjectD2Ev     (./scsolver.uno.so)
undefined symbol: osl_acquireMutex      (./scsolver.uno.so)
undefined symbol: rtl_uString_newConcat (./scsolver.uno.so)
undefined symbol: rtl_ustr_lastIndexOfStr_WithLength    (./scsolver.uno.so)
undefined symbol: rtl_uString_release   (./scsolver.uno.so)
undefined symbol: _ZN6StringC1ERK5ResId (./scsolver.uno.so)
undefined symbol: uno_type_assignData   (./scsolver.uno.so)
undefined symbol: rtl_ustr_reverseCompare_WithLength    (./scsolver.uno.so)
undefined symbol: uno_type_any_construct        (./scsolver.uno.so)
undefined symbol: rtl_ustr_indexOfStr_WithLength        (./scsolver.uno.so)
undefined symbol: rtl_uString2String    (./scsolver.uno.so)
undefined symbol: rtl_ustr_asciil_reverseEquals_WithLength (./scsolver.uno.so)
undefined symbol: _ZNK8scsolver5Timer10isTimedOutEv     (./scsolver.uno.so)
undefined symbol: _ZN8scsolver15NlpModelBuilder20clearDecVarAddressesEv (./scsolver.uno.so)
undefined symbol: rtl_str_valueOfInt32  (./scsolver.uno.so)
undefined symbol: uno_any_destruct      (./scsolver.uno.so)
undefined symbol: uno_any_construct     (./scsolver.uno.so)
undefined symbol: _ZN8scsolver5TimerD1Ev        (./scsolver.uno.so)
undefined symbol: rtl_freeMemory        (./scsolver.uno.so)
undefined symbol: rtl_uString_acquire   (./scsolver.uno.so)
undefined symbol: rtl_uString_new       (./scsolver.uno.so)
undefined symbol: _ZN8scsolver10OptionDataD1Ev  (./scsolver.uno.so)
undefined symbol: typelib_static_sequence_type_init     (./scsolver.uno.so)
undefined symbol: typelib_static_type_init      (./scsolver.uno.so)
undefined symbol: rtl_uString_newFromStr_WithLength     (./scsolver.uno.so)
undefined symbol: _ZN4cppu11OWeakObject7releaseEv       (./scsolver.uno.so)
undefined symbol: _ZN4cppu20WeakImplHelper_queryERKN3com3sun4star3uno4TypeEPNS_10class_dataEPvPNS_11OWeakObjectE (./scsolver.uno.so)
undefined symbol: rtl_string_release    (./scsolver.uno.so)
undefined symbol: _ZN8scsolver10OptionDataC1Ev  (./scsolver.uno.so)
undefined symbol: _ZNK8scsolver10OptionData14getVarPositiveEv (./scsolver.uno.so) undefined symbol: _ZN8scsolver15NlpModelBuilder19appendDecVarAddressEN3com3sun4star5table11CellAddressE (./scsolver.uno.so)
undefined symbol: rtl_allocateMemory    (./scsolver.uno.so)
       linux-gate.so.1 =>  (0xffffe000)
       libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7de0000)
       libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7dbe000)
       libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c8f000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c85000)
       /lib/ld-linux.so.2 (0x80000000)

------------------------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to