After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 669987 - Windows build (mingw): undefined reference to `xsltRegisterExtModule'
Windows build (mingw): undefined reference to `xsltRegisterExtModule'
Status: RESOLVED OBSOLETE
Product: libgda
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
: 669990 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-13 13:52 UTC by alien
Modified: 2018-09-21 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alien 2012-02-13 13:52:05 UTC
after compiling with  --disable-crypto --enable-introspection=no I have the
this problem with libxslt. libxslt is installed, maybe is pointing to wrong
directory?

  CCLD   libgda-xslt-5.0.la

*** Warning: This system can not link to static lib archive
C:/MinGW/msys/1.0/local/lib/libxslt.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: `C:/MinGW/msys/1.0/local/lib/libgthread-2.0.la' seems
to be moved
libtool: link: warning: `C:/MinGW/msys/1.0/local/lib/libgmodule-2.0.la' seems
to be moved
libtool: link: warning: `C:/MinGW/msys/1.0/local/lib/libxml2.la' seems to be
moved
libtool: link: warning: `C:/MinGW/msys/1.0/local/lib/libgio-2.0.la' seems to be
moved
libtool: link: warning: `C:/MinGW/msys/1.0/local/lib/libgobject-2.0.la' seems
to be moved
libtool: link: warning: `C:/MinGW/msys/1.0/local/lib/libglib-2.0.la' seems to
be moved
libtool: link: warning: `c:/mingw/lib/libintl.la' seems to be moved
Creating library file: .libs/libgda-xslt-5.0.dll.a.libs/sqlexslt.o: In function
`gda_xslt_register':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sqlexslt.c:48: undefined
reference to `xsltRegisterExtModule'
.libs/sql_exslt_internal.o: In function `gda_xslt_section_element':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:387:
undefined reference to `xsltGetExtData'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:380:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:380:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:390:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:390:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:397:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:397:
undefined reference to `xsltGenericError'
.libs/sql_exslt_internal.o: In function `gda_xslt_getnodeset_function':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:131:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:131:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:129:
undefined reference to `xsltXPathGetTransformContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:136:
undefined reference to `xsltGetExtData'
.libs/sql_exslt_internal.o: In function `gda_xslt_checkif_function':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:184:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:184:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:182:
undefined reference to `xsltXPathGetTransformContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:189:
undefined reference to `xsltGetExtData'
.libs/sql_exslt_internal.o: In function `gda_xslt_getxmlvalue_function':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:316:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:316:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:314:
undefined reference to `xsltXPathGetTransformContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:322:
undefined reference to `xsltGetExtData'
.libs/sql_exslt_internal.o: In function `gda_xslt_getvalue_function':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:249:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:249:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:247:
undefined reference to `xsltXPathGetTransformContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:255:
undefined reference to `xsltGetExtData'
.libs/sql_exslt_internal.o: In function `gda_xslt_extension_init':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:76:
undefined reference to `xsltRegisterExtFunction'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:80:
undefined reference to `xsltRegisterExtFunction'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:84:
undefined reference to `xsltRegisterExtFunction'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:88:
undefined reference to `xsltRegisterExtFunction'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_exslt_internal.c:96:
undefined reference to `xsltRegisterExtElement'
.libs/sql_backend.o: In function `gda_xslt_holder_set_value':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:82:
undefined reference to `xsltVariableLookup'
.libs/sql_backend.o: In function `gda_xslt_bk_section':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:154:
undefined reference to `xsltCallTemplate'
.libs/sql_backend.o: In function `gda_xslt_bk_fun_getnodeset':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:194:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:194:
undefined reference to `xsltGenericError'
.libs/sql_backend.o: In function `gda_xslt_bk_fun_getvalue':
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:218:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:218:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:226:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:226:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:233:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:233:
undefined reference to `xsltGenericError'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:245:
undefined reference to `xsltGenericErrorContext'
C:\MinGW\msys\1.0\home\alien\libgda-5.0.3\libgda-xslt/sql_backend.c:245:
undefined reference to `xsltGenericError
Comment 1 Murray Cumming 2012-02-13 13:58:23 UTC
Reassigning. Please file bugs against the modules that have those bugs.

Feel free to create a Glom bug that then depends on those many other bugs, if necessary.

Are you building libxslt from git or from a tarball?
Comment 2 alien 2012-02-13 14:33:17 UTC
(In reply to comment #1)
> Reassigning. Please file bugs against the modules that have those bugs.
OK
> Feel free to create a Glom bug that then depends on those many other bugs, if
> necessary.
OK
> Are you building libxslt from git or from a tarball?
compiled libsxlt from tarball the error is in libgda.
Comment 3 alien 2012-02-13 18:40:12 UTC
*** Bug 669990 has been marked as a duplicate of this bug. ***
Comment 4 malerba 2012-02-14 17:37:41 UTC
It looks like you are building from a Windows host, so I assume you did install your own version of LibXSLT.

I usually cross compile from Linux to Win32 (I never managed to set up a correct build environment for the complete GTK stack on Windows). Can you check that your libxslt has the _xsltRegisterExtModule symbol (using nm)? Also from the build log, it seems that you don't have the DLL file, but only the static lib which might be the problem.
Comment 5 alien 2012-02-14 23:01:29 UTC
(In reply to comment #4)
> It looks like you are building from a Windows host, so I assume you did install
> your own version of LibXSLT.

Yes I'm building on windows from source, version 1.1.22

> I usually cross compile from Linux to Win32 (I never managed to set up a
> correct build environment for the complete GTK stack on Windows). 
This case is to build glom, and libgda is a dependecy, I'll try do as you said too. Strange is that I copied a prebuild version to msys/local with dll in it, but didn't work either. what you do, you compile and then install in your mingw enviroment buy running make install?

Can you check
> that your libxslt has the _xsltRegisterExtModule symbol (using nm)? Also from
> the build log, it seems that you don't have the DLL file, but only the static
> lib which might be the problem.
I will check then I'll be back to you. Thanks to be helpful.
Comment 6 alien 2012-02-15 10:12:29 UTC
this came from xslt.o, and there isn't this module. maybe is the wrong file, but didn't find libexslt.o. under linux the libexslt.so is created but under windows no dll is created.

00000000 b .bss
00000000 d .data
00000000 N .debug_abbrev
00000000 N .debug_aranges
00000000 N .debug_info
00000000 N .debug_line
00000000 N .debug_loc
00000000 N .debug_ranges
00000000 N .debug_str
00000000 i .drectve
00000000 r .eh_frame
00000000 r .rdata
00000000 t .text
         U ___xmlGenericError
         U ___xmlGenericErrorContext
         U __imp__xmlFree
         U __imp__xmlMalloc
         U __imp__xmlRealloc
         U __imp__xmlStringTextNoenc
00000000 b _initialized
00000de2 r _permille.9074
         U _xmlAddChild
         U _xmlAddPrevSibling
         U _xmlBuildURI
         U _xmlDictCreate
         U _xmlDictFree
         U _xmlDictLookup
         U _xmlDictOwns
         U _xmlDictReference
         U _xmlDocGetRootElement
         U _xmlFreeDoc
         U _xmlFreeNode
         U _xmlFreeURI
         U _xmlGetID
         U _xmlGetNsProp
         U _xmlHashAddEntry2
         U _xmlHashCreate
         U _xmlHashFree
         U _xmlHashLookup
         U _xmlHashUpdateEntry
         U _xmlNewDoc
         U _xmlNodeGetBase
         U _xmlNodeGetSpacePreserve
         U _xmlNodeSetContent
         U _xmlParseURI
         U _xmlSearchNs
         U _xmlSearchNsByHref
         U _xmlStrEqual
         U _xmlStrcasecmp
         U _xmlStrdup
         U _xmlStrndup
         U _xmlUnlinkNode
         U _xmlValidateNCName
         U _xmlValidateQName
         U _xmlXPathStringEvalNumber
         U _xsltAddKey
         U _xsltAddTemplate
00000a78 T _xsltAllocateExtra
00000a8c T _xsltAllocateExtraCtxt
         U _xsltCheckExtPrefix
         U _xsltCheckRead
         U _xsltCompileAttr
00000a14 T _xsltDecimalFormatGetByName
         U _xsltDocDefaultLoader
00000000 D _xsltEngineVersion
         U _xsltExtModuleTopLevelLookup
         U _xsltFreeAVTList
         U _xsltFreeAttributeSetsHashes
         U _xsltFreeExts
         U _xsltFreeKeys
         U _xsltFreeNamespaceAliasHashes
         U _xsltFreeStackElemList
         U _xsltFreeStyleDocuments
         U _xsltFreeStylePreComps
00000bc4 T _xsltFreeStylesheet
         U _xsltFreeTemplateHashes
         U _xsltGenericDebug
         U _xsltGenericDebugContext
         U _xsltGenericError
         U _xsltGenericErrorContext
         U _xsltGetDefaultSecurityPrefs
         U _xsltGetQNameURI
000005ec T _xsltInit
00000614 T _xsltIsBlank
00000dd4 R _xsltLibxmlVersion
00000dd8 R _xsltLibxsltVersion
00003128 T _xsltLoadStylesheetPI
         U _xsltNamespaceAlias
0000008c t _xsltNewDecimalFormat
00000e6c T _xsltNewStylesheet
00000590 t _xsltNewTemplate
         U _xsltNextImport
00000000 t _xsltParseContentError
         U _xsltParseGlobalParam
         U _xsltParseGlobalVariable
         U _xsltParseStylesheetAttributeSet
0000301c T _xsltParseStylesheetDoc
00000154 t _xsltParseStylesheetExcludePrefix
000003e4 t _xsltParseStylesheetExtPrefix
0000304c T _xsltParseStylesheetFile
         U _xsltParseStylesheetImport
00002dbc T _xsltParseStylesheetImportedDoc
         U _xsltParseStylesheetInclude
00000f6c T _xsltParseStylesheetOutput
000019fc T _xsltParseStylesheetProcess
000015e0 T _xsltParseTemplateContent
00000648 t _xsltPrecomputeStylesheet
         U _xsltRegisterAllExtras
         U _xsltRegisterExtPrefix
         U _xsltResolveStylesheetAttributeSet
         U _xsltShutdownExts
         U _xsltStylePreCompute
         U _xsltTransformError
00000608 T _xsltUninit
Comment 7 alien 2012-02-16 15:38:54 UTC
so no solution for this?
Comment 8 Nick Wellnhofer 2013-12-17 18:32:53 UTC
 Reassigning from libxslt. This is a libgda build problem.
Comment 9 GNOME Infrastructure Team 2018-09-21 13:45:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgda/issues/61.