On 5/21/2010 9:50 AM, E. Stuart Hicks wrote:
On 05/21/2010 12:38 PM, Alain Leblanc wrote:
Try this linking command, with the object file before the link to the
libraries.
g++ -DLINUX -fpic -o xsltrans xsltrans.o -lc -lxalan-c -lxerces-c
No difference - the output is effectively the same.
Did you build Xalan-C and Xerces-C yourself? If so, try building the
sample applications to see if those link.
These are all template functions, so I would suspect some template
generation option is affecting this, or perhaps you've built Xerces-C
with a different version of GCC than you're linking with.
Dave