xerces-p-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harmon S. Nine" <hn...@ns1.netarx.com>
Subject Curiosity
Date Mon, 17 Apr 2000 19:37:54 GMT

The following message just appeared on the xerces-c-dev mailing list.  
The thing that is curious about it is that the two functions mentioned
(towupper and iswspce) gave me great difficulty when I was getting
xerces-perl together.  That is, from a perl program, whenever I called a
routine in xerces which used either of these functions, my perl program
seg-faulted.  I could not find the reason for this, and I don't know if
the problem persists now (it was encountered a few months ago).  The only
way I could fix it was to mung-in my own versions of these functions into
the xerces-C source code.

Has anyone else had a problem with these functions, or does anyone know
why they were a problem during xerces-perl development?


-- Harmon

Dr. Harmon S. Nine
Netarx, Inc.

30910 Telegraph Road
Bingham Farms, MI 48025

PH.  (248)647-9800
FX.  (248)647-9840

On Mon, 17 Apr 2000, Benjamin Geer wrote:

> I'm trying to build Xerces-C 1.1.0.  I promise I followed the
> instructions on http://xml.apache.org/xerces-c/build.html to the
> letter.  I'm using Linux kernel 2.2.5-15, glibc 2.1.3-15, and gcc
> 2.95.1.  (It's a RedHat 6.0 system with numerous upgrades.)
> In the `src' directory, I used:
> ./runConfigure -plinux -cgcc -xg++ -minmem -nfileonly -tnative
> This seemed to work fine.
> However, `gmake' produced the following error:
> IconvTransService.cpp: In method `int
> IconvTransService::compareIString(const XMLCh *, const XMLCh *)':
> IconvTransService.cpp:187: implicit declaration of function `int towupper(...)'
> IconvTransService.cpp: In method `bool IconvTransService::isSpace(__wchar_t) const':
> IconvTransService.cpp:230: implicit declaration of function `int iswspace(...)'
> gmake[2]: *** [IconvTransService.o] Error 1
> Am I missing a library?  (If so, it would probably be a good idea to
> have `configure' to check for it.)
> Also, it might be helpful if the build process stopped when an error
> occurred, so you wouldn't have to capture the output of `gmake' to a
> file and then search through it to find the error.
> Benjamin Geer
> benjamin.geer@btinternet.com

View raw message