What options did you use to build the source? Hope you followed the 
documentation to
include the necessary  transcoding service on compilation?
Looks like your Transcoding service failed on compilation. Hope you're using
runConfigure script appropriately before executing 'gmake' to build the source.

Arundhati

Dean Hoover wrote:

> I just built xerces C version 1.0.0 on linux using g++ version 2.95.2
>
> The make for the library seemed OK, but when I tried to build the
> samples, I kept getting the same link error. Here is the make output
> for SAXPrint:
>
> Building SAXPrint
> cd SAXPrint ; make  ; cd ..
> make[1]: Entering directory
> `/home/dhoover/xmlparsers/xerces-csrc_1_0_0/samples/SAXPrint'
> mkdir -p /home/dhoover/xmlparsers/xerces-csrc_1_0_0/bin/obj/SAXPrint
> g++ -c -DLINUX -D_REENTRANT -fpic -instances=static -c -w -O  -I.
> -I/home/dhoover/xmlparsers/xerces-csrc_1_0_0/include -o
> /home/dhoover/xmlparsers/xerces-csrc_1_0_0/bin/obj/SAXPrint/SAXPrint.o
> /home/dhoover/xmlparsers/xerces-csrc_1_0_0/samples/SAXPrint/SAXPrint.cpp
>
> g++ -c -DLINUX -D_REENTRANT -fpic -instances=static -c -w -O  -I.
> -I/home/dhoover/xmlparsers/xerces-csrc_1_0_0/include -o
> /home/dhoover/xmlparsers/xerces-csrc_1_0_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> /home/dhoover/xmlparsers/xerces-csrc_1_0_0/samples/SAXPrint/SAXPrintHandlers.cpp
>
> g++ -DLINUX -fpic -L/usr/lib -L/usr/local/lib
> /home/dhoover/xmlparsers/xerces-csrc_1_0_0/bin/obj/SAXPrint/SAXPrint.o
> /home/dhoover/xmlparsers/xerces-csrc_1_0_0/bin/obj/SAXPrint/SAXPrintHandlers.o
> -o /home/dhoover/xmlparsers/xerces-csrc_1_0_0/bin/SAXPrint
> -L/home/dhoover/xmlparsers/xerces-csrc_1_0_0/lib -lxerces-c1_0 -lc
> /home/dhoover/xmlparsers/xerces-csrc_1_0_0/lib/libxerces-c1_0.so:
> undefined reference to `IconvTransService::IconvTransService(void)'
> collect2: ld returned 1 exit status
> make[1]: *** [/home/dhoover/xmlparsers/xerces-csrc_1_0_0/bin/SAXPrint]
> Error 1
> make[1]: Leaving directory
> `/home/dhoover/xmlparsers/xerces-csrc_1_0_0/samples/SAXPrint'
>
> Can someone tell me what I am doing wrong?
>
> Thanks in advance.
>
> Dean Hoover

Reply via email to