Christopher, Infact you need to extract the latest TransService.cpp from cvs. This problem was rectified recently and instead of XML_GNUG it should be XML_GCC. Its fixed in the code now. With this change I think the command ./runConfigure -plinux -cgcc -xg++ should be sufficient to build the source without icu.
Arundhati Christoph Kliemt wrote: > Hi ! > > Trying to build xerces-c-src_1_1_0/samples on a linux-box (2.2.14, > initially was a RedHat-dist a long time ago... ;-) ) with > glibc-2.1.2-1,binutils-2.9.5.0.22-6 with a homebrew gcc-2.95.2 i got > a linker-error: undefined reference to > `IconvTransService::IconvTransService(void)' > > Things i had to change to make it run: > - comment out #if defined (XML_GNUG) and its #endif in > IconvTransService.cpp (lines 129,131) to include <wctype.h> > and rebuild libxerces-c1_1.so; btw: what is XML_GNUG ?! > - build samples: ./runConfigure -plinux -cgcc -xg++ -minmem -nfileonly > -tnative -rpthread. The point was "-rpthread" since configure did > not add -lpthread to the linkerflags in Makefile by default. > > \\// cu christoph > > -- > Java ist die Fortsetzung von C mit anderen Mitteln.