I missed the fact that there was indeed a failure in the library build.
I didn't see it because the Makefiles just keep going, even on a failure.
It was a single failure, which I'm sure you can rectify. I am using gcc 2.95.2
on linux. Here is the isolated failure:

make[2]: Entering directory
`/home/dhoover/xmlparsers/xerces-csrc_1_0_0/src/util/Transcoders/Iconv'
mkdir -p
/home/dhoover/xmlparsers/xerces-csrc_1_0_0/include/util/Transcoders/Iconv
cp -fp IconvTransService.hpp
/home/dhoover/xmlparsers/xerces-csrc_1_0_0/include/util/Transcoders/Iconv
g++ -fpic -instances=static -DLINUX -D_REENTRANT -c -O
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-I/home/dhoover/xmlparsers/xerces-csrc_1_0_0/include  -o IconvTransService.o
IconvTransService.cpp
IconvTransService.cpp: In method `int IconvTransService::compareIString(const
XMLCh *, const XMLCh *)':
IconvTransService.cpp:131: passing `const int *' as argument 2 of
`towctrans(unsigned int, const unsigned int *)' changes signedness
IconvTransService.cpp:132: passing `const int *' as argument 2 of
`towctrans(unsigned int, const unsigned int *)' changes signedness
IconvTransService.cpp: In method `int IconvTransService::compareNIString(const
XMLCh *, const XMLCh *, unsigned int)':
IconvTransService.cpp:155: passing `const int *' as argument 2 of
`towctrans(unsigned int, const unsigned int *)' changes signedness
IconvTransService.cpp:156: passing `const int *' as argument 2 of
`towctrans(unsigned int, const unsigned int *)' changes signedness
make[2]: *** [IconvTransService.o] Error 1
make[2]: Leaving directory
`/home/dhoover/xmlparsers/xerces-csrc_1_0_0/src/util/Transcoders/Iconv'

Thanks for responding.

Dean Hoover

Rahul Jain wrote:

> > For building the library, I am using
> > runConfigure -plinux -cgcc -xg++ -minmem -nfileonly -tnative
> >
> > For building samples, I am using
> > runConfigure -plinux -cgcc -xg++
> >
>
> These commands are correct. We used the same command to build the 1.1.0 D05
> release. The binaries were generated on Redhat 6.1 using glibc 2.1.2-11 and
> egcs-2.91.66 (essentially what comes canned in RH 6.1).
>
> Please try the 1.1.0 D05 version and see if you still get the same error.
> This drop is available in the http://xml.apache.org/dist directory.
>
> rahul

Reply via email to