Hi All,
I am getting error when run "make command" for building log4cxx-0.10.0
on HP-UX B.11.11 U 9000/785 as shown below:
Making all in cpp
source='action.cpp' object='action.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --tag=CXX --mode=compile aCC
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\"
-DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../../../src/main/include
-I../../../src/main/include -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE
-D_LARGEFILE64_SOURCE -I/user1/chakrava/jen/apr/include
-I/user1/chakrava/jen/apr-util/include
-I/user1/chakrava/jen/apr-util/xml/expat/lib -g -c -o action.lo
action.cpp
aCC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\"
-DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../../../src/main/include
-I../../../src/main/include -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE
-D_LARGEFILE64_SOURCE -I/user1/chakrava/jen/apr/include
-I/user1/chakrava/jen/apr-util/include
-I/user1/chakrava/jen/apr-util/xml/expat/lib -g -c action.cpp +Z -DPIC
-o .libs/action.o
Error (future) 600: "../../../src/main/include/log4cxx/logstring.h",
line 67 # Type specifier is omitted; "int" is no
longer assumed.
typedef std::basic_string<logchar> LogString;
^^^^^^^
Error 20: "../../../src/main/include/log4cxx/logstring.h", line 67 # ';'
expected before '::'.
typedef std::basic_string<logchar> LogString;
^^
Error 448: "../../../src/main/include/log4cxx/helpers/transcoder.h",
line 46 # Operator '::' must be preceded by a name of
a namespace or class; 'std' is neither.
static void decodeUTF8(const std::string& src, LogString&
dst);
^^^^^
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Any idea what went wrong?
Thanks & Regards,
Jenica Mehta