You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by mahesh <ma...@finessealliance.com> on 2001/02/05 15:49:35 UTC

Xalan-c solaris compilation

Hi ,
     I have compiled xalan-c in sun solaris and libxalan_c1_0.so and libxalan_c1_0.a are successfully created. But when I try to compile the testXSLT, i am getting some linking error. I have attached the compilation errors and also I have attached the Makefile. Following are the steps for compiling and linking the testXSLT file.

--------------------------------------------------------------------------------

g++ -O -fPIC -instances=static -DSOLARIS -D_REENTRANT -DXALAN_CANNOT_MUTATE_ANONYMOUS_OBJECT  -c -I . -I /export/home/clarity/xerces-c-src1_3_0/c/src/ -I /export/home/clarity/xerces-c-src1_3_0/c/include/ -I /export/home/clarity/xml-xalan/c/src/ -I /export/home/clarity/xml-xalan/c/src/Include/  -o /export/home/clarity/xml-xalan/c/obj/process.o TestXSLT/process.cpp

g++ -DSOLARIS -fPIC    \
-lc -L/export/home/clarity/xml-xalan/c/lib -lxalan-c1_0  -L/usr/lib -L/usr/local/lib -lc -L/export/home/clarity/xerces-c-src1_3_0/c/lib -lxerces-c1_3 /export/home/clarity/xml-xalan/c/obj/process.o -o /export/home/clarity/xml-xalan/c/bin/testXSLT

--------------------------------------------------------------------------------

Could you please me in solving the problem. Please cc to mahesd@yahoo.com
Thanks in advance
Mahesh

Note :
error.txt - error detail
Makefile - Makefile