[EMAIL PROTECTED] wrote: > > abagchi 00/01/05 15:30:38 > > Modified: c/src/util/Transcoders/Iconv IconvTransService.cpp > IconvTransService.hpp > Log: > Fixed the new class IconvLCPTranscoder functions. Tested on Linux only. >
Looks good -- they compile fine now, thanks. There are link problems, though (see below the DOMString stuff). Unfortunately, some of the other new stuff seems broken. I'm getting /home/local/mgm/hacking/xerces-cvs/xml-xerces/c/src/internal [EMAIL PROTECTED] internal]$ make mkdir -p /home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include/internal cp -fp CharTypeTables.hpp ElemStack.hpp EndOfEntityException.hpp MemBufInputSource.hpp ReaderMgr.hpp StdInInputSource.hpp URLInputSource.hpp VecAttrListImpl.hpp XMLReader.hpp XMLScanner.hpp /home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include/internal g++ -fpic -instances=static -DLINUX -D_REENTRANT -c -O -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -I/home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include -o XMLReader.o XMLReader.cpp XMLReader.cpp:86: util/XMLEBCDICTranscoder.hpp: No such file or directory make: *** [XMLReader.o] Error 1 Copying c/src/util/XMLEBCDICTranscoder.hpp to c/include/util fixes this and allows it to compile. (Should it be copied as part of the make process?) Secondly, size_t wasn't known about in src/dom/DOMStringImpl.hpp. I haven't looked too closely at why this is, exactly, but including <cstddef> fixes it: Index: src/dom/DOMStringImpl.hpp =================================================================== RCS file: /home/cvspublic/xml-xerces/c/src/dom/DOMStringImpl.hpp,v retrieving revision 1.1 diff -u -r1.1 DOMStringImpl.hpp --- DOMStringImpl.hpp 2000/01/05 22:16:26 1.1 +++ DOMStringImpl.hpp 2000/01/06 10:32:46 @@ -76,7 +76,7 @@ #include <util/XML4CDefs.hpp> - +#include <cstddef> class DOMStringData { Everything compiles like this, but when I link to the shared library I get this lot: libxerces-c1_0-linux.so: undefined reference to `XMLTransService type_info node' libxerces-c1_0-linux.so: undefined reference to `XMLLCPTranscoder::XMLLCPTranscoder(void)' libxerces-c1_0-linux.so: undefined reference to `XMLTransService type_info function' libxerces-c1_0-linux.so: undefined reference to `XMLTransService::initTransService(void)' libxerces-c1_0-linux.so: undefined reference to `XMLTranscoder::XMLTranscoder(unsigned short const *, unsigned int)' libxerces-c1_0-linux.so: undefined reference to `XMLLCPTranscoder type_info node' libxerces-c1_0-linux.so: undefined reference to `XMLTransService::makeNewTranscoderFor(unsigned short const *, XMLTransService::Codes &, unsigned int)' libxerces-c1_0-linux.so: undefined reference to `XMLTranscoder type_info function' libxerces-c1_0-linux.so: undefined reference to `XMLEBCDICTranscoder::xlatThisOne(unsigned char)' libxerces-c1_0-linux.so: undefined reference to `XMLTranscoder type_info node' libxerces-c1_0-linux.so: undefined reference to `XMLTranscoder::~XMLTranscoder(void)' libxerces-c1_0-linux.so: undefined reference to `XMLTransService::XMLTransService(void)' libxerces-c1_0-linux.so: undefined reference to `XMLLCPTranscoder type_info function' libxerces-c1_0-linux.so: undefined reference to `XMLTransService::~XMLTransService(void)' libxerces-c1_0-linux.so: undefined reference to `XMLLCPTranscoder::~XMLLCPTranscoder(void)' I'm afraid I don't have time to do anything more productive than report these problems right now -- I will try and have a look early next week if no-one comes up with anything by then. Cheers, Mike. -- Mike Mason, Software Engineer XML Script Development Team Office: 44-1865-203192 http://www.xmlscript.org/ Mobile: 44-7050-288923