You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2007/03/06 08:57:24 UTC

[jira] Resolved: (XERCESC-1681) Compile under Borland6 fails: Unresolved reference to XMLInitializer::InitializeAllStaticData()

     [ https://issues.apache.org/jira/browse/XERCESC-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1681.
--------------------------------------

    Resolution: Duplicate

The fix is already in SVN, http://svn.apache.org/viewvc?view=rev&revision=382779

> Compile under Borland6 fails: Unresolved reference to XMLInitializer::InitializeAllStaticData()
> -----------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1681
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1681
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.7.0
>         Environment: WinXP with Borland C++ Builder 6 (Personal)
>            Reporter: Neil Richardson
>            Priority: Blocker
>
> When compiling XercesLib.dll, I receive the following linker error:
> ===== COPY/PASTE =====
> [Linker] 
> [Linker Error] Unresolved external 'xercesc_2_7::XMLInitializer::InitializeAllStaticData()' referenced from H:\CODE\LIBRARIES\XERCES-C-SRC_2_7_0\BUILD\WIN32\BCB6\OBJ\PLATFORMUTILS.OBJ
> ==========
> As far as I can tell, the only place that function is invoked is PlatformUtils.cpp line 324-326:
> ===== PlatformUtils.cpp:324-236 =====
>     if (toInitStatics) {
>         XMLInitializer::InitializeAllStaticData();
>     }
> ==========
> I also saw that it is defined in XMLInitializer.[ch]pp, but PlatformUtils already has "#include <xercesc/util/XMLInitializer.hpp>" so unless the path is wrong relative to the base that Borland assumes, I don't know why it won't compile.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org