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=17914>.
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=17914

Link error using XSLTResultTarget

           Summary: Link error using XSLTResultTarget
           Product: XalanC
           Version: 1.4.x
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: XalanC
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The following code fails to link. On an HP-UX 11i machine with the following 
compiler aCC: HP ANSI C++ B3910B A.03.31 and A.03.37.
Platform: HP-UX hpl011 B.11.11 U 9000/800

#include <XSLT/XSLTResultTarget.hpp>
//using namespace::std;
int main()
{
  int           status = 0;
  std::ostrstream    *output;
  output = new std::ostrstream();
  XSLTResultTarget res(output);
  XSLTResultTarget res1();
  return status;
}

The Xalan and Xerces libraries were compiled and linked with the -AA option.

The compile and link commands were as follows:

/opt/aCC/bin/aCC -AA +Z -c -g -I/opt/aCC/include_std  -DNO_LIANT -DUNIX -
I/usr/local/xml4c/include -I /local/xml-xalan-c1_4_0_32b/c/src -I/local/xerces-
c2_1_0_32b/include/ -
I/usr/include/CC /amiuser25.l011/ip/afg/amitca/bb/gutl/v50_0/rts/src/UTL1Rts_mai
n.cpp

/opt/aCC/bin/aCC -AA +Z -o UTL1Rts_main -g -Wl,+s -Wl,+k UTL1Rts_main.o    -
L/local/xerces-c2_1_0_32b/lib  -L/usr/local/XALAN/c/lib/   -lxalan-c1_4_0 -
lCsup_v2 -lstd_v2 


The results are:

/usr/ccs/bin/ld: Unsatisfied symbols:
   XSLTResultTarget::XSLTResultTarget
(std::basic_ostream<char,std::char_traits<char>> *)

although there is contructor:
   XSLTResultTarget::XSLTResultTarget(ostream * theStream)

Thank you for your help
Moshe

Reply via email to