You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Suzanne Dirkers <di...@us.ibm.com> on 2003/04/30 21:08:48 UTC

error linking TranscodeToLocalCodePage on LInux




Hi,

     Does anybody know why one might get such an error as

      XalanDOMSTirng.hpp:202...undefined reference for
TranscodeToLocalCodePage ( unsigned short const*, vector <char>,
allocator<char>>&, bool)

    at Xalan 1.3? on Linux? This same error doesn't seem to be present on
zOS at Xalan 1.3. ??   Any ideas?  The code is basically in
SimpleXPathAPI.cpp.

Suzanne


Re: error linking TranscodeToLocalCodePage on LInux

Posted by da...@us.ibm.com.



Hi Suzanne,

Usually, this is a symptom of building and linking with different versions
of GCC.  Are you sure you're using the exact same version of GCC that we
used to build Xalan-C?  If not, you'll need to.

If you are using the same version, more output would help.  In particular,
a cut-and-paste would be the best.

Dave



                                                                                                                                  
                      Suzanne Dirkers                                                                                             
                      <dirkers@us.ibm.         To:      xalan-c-users@xml.apache.org                                              
                      com>                     cc:      (bcc: David N Bertoni/Cambridge/IBM)                                      
                                               Subject: error linking TranscodeToLocalCodePage on LInux                           
                      04/30/2003 12:08                                                                                            
                      PM                                                                                                          
                                                                                                                                  







Hi,

     Does anybody know why one might get such an error as

      XalanDOMSTirng.hpp:202...undefined reference for
TranscodeToLocalCodePage ( unsigned short const*, vector <char>,
allocator<char>>&, bool)

    at Xalan 1.3? on Linux? This same error doesn't seem to be present on
zOS at Xalan 1.3. ??   Any ideas?  The code is basically in
SimpleXPathAPI.cpp.

Suzanne