Hi I have a problem linking xalan 1.4 (I know it's old but I can't work with something else on this system) with my code.
I keep getting the following errors: /usr/ccs/bin/ld: Unsatisfied symbols: XSLTResultTarget::XSLTResultTarget(std::basic_ostream<char,std::char_traits<char>> *)%1 (first referenced in XgwcXmlTransformer.o) (code) XSLTInputSource::XSLTInputSource(std::basic_istream<char,std::char_traits<char>> *)%1 (first referenced in XgwcXmlTransformer.o) (code) I tried rebuilding the .o in question but without success. The code in my program is the following: #include <strstream> #include <iomanip> #include <iostream> #include <string> using namespace std; #include <stdio.h> #include <String.h> #include <rw/cstring.h> #include "XgwcXmlTransformer.hpp" #include <util/PlatformUtils.hpp> #include <XalanDOM/XalanDOMString.hpp> #include <XSLT/XSLTInputSource.hpp> #include <XSLT/XSLTResultTarget.hpp> ... RWCString inXsl; // oMessage is a wrapper around an RWCString istrstream theXMLStream(oMessage.getXmlBuffer.data(), oMessage.getXmlBuffer().length()); istrstream theXSLStream(inXsl, inXsl.length()); ostrstream theOutput; XSLTInputSource inputXmlSource(&theXMLStream); inputXmlSource.setSystemId(c_wstr(XalanDOMString("xmlData"))); XSLTInputSource inputXslSource(&theXSLStream); inputXslSource.setSystemId(c_wstr(XalanDOMString("xslSheet"))); XSLTResultTarget outputTarget(&theOutput); // theXalanTransformer being a member variable on my main object. int theResult= theXalanTransformer.transform(inputXmlSource,inputXslSource,outputTarget); ... The library libxalan-c1_4_0.sl is on the path and included also in the makefile command line. The include files are found since it does not give an error anymore on compilation. Please help me, my project is due to end this week and I'm stuck Thanks in advance. -- View this message in context: http://old.nabble.com/unsatified-symbols-error-on-linking-tp32273898p32273898.html Sent from the Xalan - C - Users mailing list archive at Nabble.com.