I am trying to compile a simple program that uses Xalan on Solaris 8;
I downloaded the binary distribution of Xalan for Solaris.

The samples are running fine, although my attempt to compile SimpleTransform
myself failed miserably.

So, I wrote a simple C++ program that simply includes the three files
suggested on the Xalan-C website. (PlatformDefinistions, PlatformUtils, and
XalanTransformer)  It includes a main function that simply returns 0.

This is the output I get when running make:

searchdev.cl.msu.edu:/space/home/Rmrs/transform> gmake
g++ -I/space/home/Rmrs/xml-xalan/c//src/ -I/space/home/Rmrs/xerces-c1_5_1-So
lCC//include/ \
-c transform.cpp
g++
transform.o -I/space/home/Rmrs/xml-xalan/c//src/ -I/space/home/Rmrs/xerces-c
1_5_1-SolCC//include/ -L/space/home/Rmrs/xml-xalan/c/lib -xalan-c1_2 -L/spac
e/home/Rmrs/xerces-c1_5_1-SolCC/lib -xerces-c1_5_1 \
-o transform
Undefined                       first referenced
 symbol                             in file
XMLException type_info function     transform.o
XMLException type_info node         transform.o
XalanDOMException type_info functiontransform.o
XalanDOMException type_info node    transform.o
ld: fatal: Symbol referencing errors. No output written to transform
collect2: ld returned 1 exit status
gmake: *** [transform] Error 1

As you can see, it appears that the cpp file compiles into an object file
fine, but I can't create the executeable.

Thanks in advance for the help.

Reply via email to