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 "Neil Richardson (JIRA)" <xe...@xml.apache.org> on 2007/03/05 23:04:50 UTC

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

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


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

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ 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


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

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478184 ] 

David Bertoni commented on XERCESC-1681:
----------------------------------------

I suspect you need to make sure XMLInitializer.cpp is included in project.

Note that the Borland project files are not maintained actively, so you might want to consider submitting back all of your changes for inclusion into the repository.

> 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