Dave,

Thanks for your reports. I'll go through them below...

On Jun 7, 2005, at 5:36 PM, [EMAIL PROTECTED] wrote:
AIX using gcc results in the following:

...

xercesc/util/Transcoders/Iconv/IconvTransService.cpp:296: `maxBytes'
undeclared (first use this function)
xercesc/util/Transcoders/Iconv/IconvTransService.cpp:296: (Each undeclared
identifier is reported only once
xercesc/util/Transcoders/Iconv/IconvTransService.cpp:296: for each
function it appears in.)
make: 1254-004 The error code from the last command is 1.

So it looks like the class IconvLCPTranscoder is broken.

Yes, it was apparently broken by patch from Axel Weiss. I've emailed him asking that he look at it.


Doing "make clean distclean" results in the following error:

depcomp: Variables source, object and depmode must be set
make: 1254-004 The error code from the last command is 1.

Can you give me any more context on this? Does this error mean anything to you? Which make is this? Which directory is it working in when it came up with this?


AIX using xlC produces similar errors.

Solaris 10 x86 using Sun Workshop 10 results in the following:

-bash-3.00$ make
make  all-recursive
make[1]: Entering directory `/home/dbertoni/apache/xml-xerces.svn/ c-3.0'
Making all in lib
make[2]: Entering directory
`/home/dbertoni/apache/xml-xerces.svn/c-3.0/lib'
source='xerces_compat.c' object='xerces_compat.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -c -o xerces_compat.lo xerces_compat.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -c
xerces_compat.c  -KPIC -DPIC -o .libs/xerces_compat.o
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -c
xerces_compat.c -o xerces_compat.o >/dev/null 2>&1
source='stricmp.c' object='stricmp.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I.. -I../src/xercesc/util     -g -c -o stricmp.lo stricmp.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -c stricmp.c
-KPIC -DPIC -o .libs/stricmp.o
"stricmp.c", line 34: warning: implicit function declaration: strcasecmp

Did you get Alberto's change to include <strings.h> also in this file? Where is strcasecmp defined on this platform? It must be, I assume, since it looks like configure found it.


cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -c stricmp.c -o
stricmp.o >/dev/null 2>&1
source='strnicmp.c' object='strnicmp.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I.. -I../src/xercesc/util     -g -c -o strnicmp.lo strnicmp.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -c strnicmp.c
-KPIC -DPIC -o .libs/strnicmp.o
"strnicmp.c", line 34: warning: implicit function declaration: strncasecmp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -c strnicmp.c -o
strnicmp.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link cc  -g   -o libcompat.la
xerces_compat.lo stricmp.lo strnicmp.lo -L/usr/lib -licuuc -licudata
-lpthread
ar cru .libs/libcompat.a .libs/xerces_compat.o .libs/stricmp.o
.libs/strnicmp.o
: .libs/libcompat.a
creating libcompat.la
(cd .libs && rm -f libcompat.la && ln -s ../libcompat.la libcompat.la)
make[2]: Leaving directory
`/home/dbertoni/apache/xml-xerces.svn/c-3.0/lib'
Making all in src
make[2]: Entering directory
`/home/dbertoni/apache/xml-xerces.svn/c-3.0/src'
/home/dbertoni/apache/xml-xerces.svn/c-3.0/src/../config/pretty- make: bad
substitution

Does this error go away if you configure --disable-pretty-make  ?

make[2]: *** [xercesc/util/Base64.lo] Error 1
make[2]: Leaving directory
`/home/dbertoni/apache/xml-xerces.svn/c-3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dbertoni/apache/xml-xerces.svn/ c-3.0'
make: *** [all] Error 2

Using gcc on the same platform results in the following:

-bash-3.00$ make
make  all-recursive
make[1]: Entering directory `/export/home/xalan/apache/xml-xerces/ c-3.0'
Making all in lib
make[2]: Entering directory
`/export/home/xalan/apache/xml-xerces/c-3.0/lib'
depbase=`echo xerces_compat.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -O2 -MT xerces_compat.lo -MD - MP -MF
"$depbase.Tpo" -c -o xerces_compat.lo xerces_compat.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit
1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -O2 -MT
xerces_compat.lo -MD -MP -MF .deps/xerces_compat.Tpo -c xerces_compat.c
-fPIC -DPIC -o .libs/xerces_compat.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -O2 -MT
xerces_compat.lo -MD -MP -MF .deps/xerces_compat.Tpo -c xerces_compat.c -o
xerces_compat.o >/dev/null 2>&1
depbase=`echo stricmp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I../src/xercesc/util     -g -O2 -MT stricmp.lo -MD -MP -MF
"$depbase.Tpo" -c -o stricmp.lo stricmp.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit
1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -O2 -MT
stricmp.lo -MD -MP -MF .deps/stricmp.Tpo -c stricmp.c  -fPIC -DPIC -o
.libs/stricmp.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -O2 -MT
stricmp.lo -MD -MP -MF .deps/stricmp.Tpo -c stricmp.c -o stricmp.o

/dev/null 2>&1

depbase=`echo strnicmp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I../src/xercesc/util     -g -O2 -MT strnicmp.lo -MD -MP -MF
"$depbase.Tpo" -c -o strnicmp.lo strnicmp.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit
1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -O2 -MT
strnicmp.lo -MD -MP -MF .deps/strnicmp.Tpo -c strnicmp.c -fPIC - DPIC -o
.libs/strnicmp.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/xercesc/util -g -O2 -MT
strnicmp.lo -MD -MP -MF .deps/strnicmp.Tpo -c strnicmp.c -o strnicmp.o

/dev/null 2>&1

/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o libcompat.la
xerces_compat.lo stricmp.lo strnicmp.lo -L/usr/lib -licuuc -licudata
false cru .libs/libcompat.a .libs/xerces_compat.o .libs/stricmp.o
.libs/strnicmp.o

Hmm. So libtool is failing here, I guess? Any other clues that you see to an error?

make[2]: *** [libcompat.la] Error 1
make[2]: Leaving directory
`/export/home/xalan/apache/xml-xerces/c-3.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/xalan/apache/xml-xerces/ c-3.0'
make: *** [all] Error 2

Note also that I had to create aliases for make and ar, because they are
only available as gmake and gar using the versions provided by Sun.

Hi Dave,

Why did you need to create an alias for make? Could you just call it as gmake? Or did configure complain? Same question for ar, I guess. Did configure think it found it? Or complain about it? Or does the error not turn up until you try to build...?

-jdb




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to