You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/11/02 08:32:27 UTC

DO NOT REPLY [Bug 4587] New: - Xalan C++ sample ExternalFunction does not link in Release mode.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4587>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4587

Xalan C++ sample ExternalFunction does not link in Release mode. 

           Summary: Xalan C++ sample ExternalFunction does not link in
                    Release mode.
           Product: XalanC
           Version: 1.2.x
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: peterm@fast.fujitsu.com.au


I tried compiling and linking the ExternalFunction sample provided with Xalan 
C++ 1.2. Compiler: MSVC6.0+SP3+Dinkumware. Xalan build: xml-
xalan_20011101231715.tar.gz. Xerces build: 1.5.2.

This error occurs in Release mode:
------------------------
Linking...
ExternalFunction.obj : error LNK2001: unresolved external symbol "__declspec
(dllimport) public: static void __cdecl 
XalanReferenceCountedObject::removeReference(class XalanReferenceCountedObject 
*)" (__imp_?removeReference@XalanReferenceCountedObjec
t@@SAXPAV1@@Z)
..\..\Build\Win32\VC6\Release/ExternalFunction.exe : fatal error LNK1120: 1 
unresolved externals
Error executing link.exe.

ExternalFunction.exe - 2 error(s), 0 warning(s)
------------------------

I do not get the error in Debug mode.

Regards,
Peter.