Here's my scenario.  Anyone have any ideas?

 

Thanks!
Gene

 

[sunshade-hub]uname -a

SunOS sunshade 5.10 Generic i86pc i386 i86pc

[sunshade-hub]./runConfigure -psolaris -ccc -xCC -b32 -rpthread
-tIconvGNU && make

<... full output shown below ...>

  (C++) IconvGNUTransService.o

CC: Warning: Option -ptr not supported

"/usr/include/wchar.h", line 23: Error: clock_t is not a member of
xercesc_2_8::std.

"/usr/include/wchar.h", line 25: Error: time_t is not a member of
xercesc_2_8::std.

"/usr/include/wchar.h", line 26: Error: tm is not a member of
xercesc_2_8::std.

"IconvGNUTransService.cpp", line 244: Error: An integer constant
expression is required within the array subscript operator.

"IconvGNUTransService.cpp", line 254: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 263: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 276: Error: An integer constant
expression is required within the array subscript operator.

"IconvGNUTransService.cpp", line 286: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 295: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 308: Error: An integer constant
expression is required within the array subscript operator.

"IconvGNUTransService.cpp", line 319: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 414: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 424: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 1289: Error: An integer constant
expression is required within the array subscript operator.

14 Error(s) detected.

make[2]: *** [IconvGNUTransService.o] Error 14

make[1]: *** [transcoders] Error 2

make: *** [Util] Error 2

 

 

 

Full output listing follows:

 

 

 

[sunshade-hub]./runConfigure -psolaris -ccc -xCC -b32 -rpthread
-tIconvGNU && make

Generating makefiles with the following options ...

Platform: solaris

C Compiler: cc

C++ Compiler: CC

Message Loader: inmem

Net Accessor: socket

Transcoder: IconvGNU

Thread option: pthread

Library type: shared

bitsToBuild option: 32

Extra compile options:

Extra link options:

Extra configure options:

Debug is OFF

 

checking for gcc... cc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... no

checking whether cc accepts -g... yes

checking for cc option to accept ISO C89... none needed

checking whether we are using the GNU C++ compiler... no

checking whether CC accepts -g... yes

checking for a BSD-compatible install... ./install-sh -c

checking for autoconf... true

checking how to run the C preprocessor... cc -E

checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep

checking for egrep... /usr/sfw/bin/ggrep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for XMLByte... no

checking build system type... i386-pc-solaris2.10

checking host system type... i386-pc-solaris2.10

configure: creating ./config.status

config.status: creating Makefile

config.status: creating util/Makefile

config.status: creating util/Transcoders/Cygwin/Makefile

config.status: creating util/Transcoders/Win32/Makefile

config.status: creating util/Transcoders/ICU/Makefile

config.status: creating util/Transcoders/Iconv/Makefile

config.status: creating util/Transcoders/Iconv390/Makefile

config.status: creating util/Transcoders/Uniconv390/Makefile

config.status: creating util/Transcoders/Iconv400/Makefile

config.status: creating util/Transcoders/IconvFBSD/Makefile

config.status: creating util/Transcoders/IconvGNU/Makefile

config.status: creating util/Transcoders/MacOSUnicodeConverter/Makefile

config.status: creating util/Platforms/Makefile

config.status: creating util/Platforms/Solaris/Makefile

config.status: creating util/Platforms/AIX/Makefile

config.status: creating util/Platforms/BeOS/Makefile

config.status: creating util/Platforms/QNX/Makefile

config.status: creating util/Platforms/Linux/Makefile

config.status: creating util/Platforms/FreeBSD/Makefile

config.status: creating util/Platforms/NetBSD/Makefile

config.status: creating util/Platforms/HPUX/Makefile

config.status: creating util/Platforms/OS390/Makefile

config.status: creating util/Platforms/OS400/Makefile

config.status: creating util/Platforms/IRIX/Makefile

config.status: creating util/Platforms/PTX/Makefile

config.status: creating util/Platforms/OpenServer/Makefile

config.status: creating util/Platforms/UnixWare/Makefile

config.status: creating util/Platforms/Tru64/Makefile

config.status: creating util/Platforms/MacOS/Makefile

config.status: creating util/Platforms/Win32/Makefile

config.status: creating util/Platforms/Cygwin/Makefile

config.status: creating util/Compilers/Makefile

config.status: creating util/MsgLoaders/InMemory/Makefile

config.status: creating util/MsgLoaders/ICU/Makefile

config.status: creating util/MsgLoaders/ICU/resources/Makefile

config.status: creating util/MsgLoaders/MsgCatalog/Makefile

config.status: creating util/MsgLoaders/MsgFile/Makefile

config.status: creating util/NetAccessors/Socket/Makefile

config.status: creating util/NetAccessors/WinSock/Makefile

config.status: creating util/NetAccessors/libWWW/Makefile

config.status: creating util/NetAccessors/MacOSURLAccessCF/Makefile

config.status: creating util/regx/Makefile

config.status: creating validators/Makefile

config.status: creating validators/common/Makefile

config.status: creating validators/datatype/Makefile

config.status: creating validators/DTD/Makefile

config.status: creating validators/schema/Makefile

config.status: creating validators/schema/identity/Makefile

config.status: creating framework/Makefile

config.status: creating framework/psvi/Makefile

config.status: creating dom/Makefile

config.status: creating dom/impl/Makefile

config.status: creating dom/deprecated/Makefile

config.status: creating parsers/Makefile

config.status: creating internal/Makefile

config.status: creating sax/Makefile

config.status: creating sax2/Makefile

config.status: creating ../../obj/Makefile

config.status: executing default commands

 

Having build problems?

Read instructions at http://xerces.apache.org/xerces-c/build.html

Still cannot resolve it?

Find out if someone else had the same problem before.

Go to http://marc.theaimsgroup.com/?l=xerces-c-dev

 

In future, you may also directly type the following commands to create

the Makefiles.

 

export TRANSCODER="IconvGNU"

export MESSAGELOADER="INMEM"

export NETACCESSOR="Socket"

export THREADS="pthread"

export LIBTYPE="shared"

export BITSTOBUILD="32"

export CC="cc"

export CXX="CC"

export CXXFLAGS=" -w -O -DNDEBUG -DPROJ_XMLPARSER -DPROJ_XMLUTIL
-DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM
-DPROJ_VALIDATORS -DXML_USE_GNU_TRANSCODER -I/usr/local/include
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET "

export CFLAGS=" -w -O -DNDEBUG -DPROJ_XMLPARSER -DPROJ_XMLUTIL
-DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM
-DPROJ_VALIDATORS -DXML_USE_GNU_TRANSCODER -I/usr/local/include
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET "

export LDFLAGS=" "

export LIBS=" -lpthread -lnsl -lsocket"

configure

 

If the result of the above commands look OK to you, go to the directory

/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/src/xercesc and type
"make" (or "gmake")

to make the XERCES-C system.

Preparing the directory structure for a build ...

mkdir -p /home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/obj/SOLARIS

mkdir -p
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/obj/SOLARIS/depdom

mkdir -p /home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/lib

make -s -C util includes

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Platforms/Solaris

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Transcoders/IconvGNU

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
MsgLoaders/InMemory

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
NetAccessors/Socket

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Compilers

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
regx

make -s -C sax includes

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/sax

make -s -C sax2 includes

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/sax2

make -s -C internal includes

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/inter
nal

make -s -C framework includes

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/frame
work

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/frame
work/psvi

make -s -C parsers includes

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/parse
rs

make -s -C validators includes

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/valid
ators/common

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/valid
ators/datatype

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/valid
ators/DTD

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/valid
ators/schema

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/valid
ators/schema/identity

make -s -C dom includes

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/dom

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/dom/i
mpl

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/dom/d
eprecated

Building util

make -s -C util

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Platforms/Solaris

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Transcoders/IconvGNU

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
MsgLoaders/InMemory

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
NetAccessors/Socket

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Compilers

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
regx

  (C++) Base64.o

CC: Warning: Option -ptr not supported

  (C++) BinFileInputStream.o

CC: Warning: Option -ptr not supported

  (C++) BinInputStream.o

CC: Warning: Option -ptr not supported

  (C++) BinMemInputStream.o

CC: Warning: Option -ptr not supported

  (C++) BitSet.o

CC: Warning: Option -ptr not supported

  (C++) DefaultPanicHandler.o

CC: Warning: Option -ptr not supported

  (C++) EncodingValidator.o

CC: Warning: Option -ptr not supported

  (C++) HashPtr.o

CC: Warning: Option -ptr not supported

  (C++) HashXMLCh.o

CC: Warning: Option -ptr not supported

  (C++) HeaderDummy.o

CC: Warning: Option -ptr not supported

  (C++) HexBin.o

CC: Warning: Option -ptr not supported

  (C++) KVStringPair.o

CC: Warning: Option -ptr not supported

  (C++) Mutexes.o

CC: Warning: Option -ptr not supported

  (C++) PanicHandler.o

CC: Warning: Option -ptr not supported

  (C++) PlatformUtils.o

CC: Warning: Option -ptr not supported

  (C++) QName.o

CC: Warning: Option -ptr not supported

  (C++) StringPool.o

CC: Warning: Option -ptr not supported

  (C++) SynchronizedStringPool.o

CC: Warning: Option -ptr not supported

  (C++) TransService.o

CC: Warning: Option -ptr not supported

  (C++) XMemory.o

CC: Warning: Option -ptr not supported

  (C++) XMLAbstractDoubleFloat.o

CC: Warning: Option -ptr not supported

  (C++) XMLASCIITranscoder.o

CC: Warning: Option -ptr not supported

  (C++) XMLBigDecimal.o

CC: Warning: Option -ptr not supported

  (C++) XMLBigInteger.o

CC: Warning: Option -ptr not supported

  (C++) XMLChar.o

CC: Warning: Option -ptr not supported

  (C++) XMLChTranscoder.o

CC: Warning: Option -ptr not supported

  (C++) XMLDateTime.o

CC: Warning: Option -ptr not supported

  (C++) XMLDouble.o

CC: Warning: Option -ptr not supported

  (C++) XMLEBCDICTranscoder.o

CC: Warning: Option -ptr not supported

  (C++) XMLException.o

CC: Warning: Option -ptr not supported

  (C++) XMLFloat.o

CC: Warning: Option -ptr not supported

  (C++) XMLIBM1047Transcoder.o

CC: Warning: Option -ptr not supported

  (C++) XMLIBM1140Transcoder.o

CC: Warning: Option -ptr not supported

  (C++) XMLInitializer.o

CC: Warning: Option -ptr not supported

  (C++) XMLMsgLoader.o

CC: Warning: Option -ptr not supported

  (C++) XMLNumber.o

CC: Warning: Option -ptr not supported

  (C++) XMLRegisterCleanup.o

CC: Warning: Option -ptr not supported

  (C++) XMLString.o

CC: Warning: Option -ptr not supported

  (C++) XMLStringTokenizer.o

CC: Warning: Option -ptr not supported

  (C++) XMLUCSTranscoder.o

CC: Warning: Option -ptr not supported

  (C++) XMLUni.o

CC: Warning: Option -ptr not supported

  (C++) XMLUri.o

CC: Warning: Option -ptr not supported

  (C++) XMLURL.o

CC: Warning: Option -ptr not supported

  (C++) XMLUTF16Transcoder.o

CC: Warning: Option -ptr not supported

  (C++) XMLUTF8Transcoder.o

CC: Warning: Option -ptr not supported

  (C++) XMLWin1252Transcoder.o

CC: Warning: Option -ptr not supported

  (C++) XML256TableTranscoder.o

CC: Warning: Option -ptr not supported

  (C++) XML88591Transcoder.o

CC: Warning: Option -ptr not supported

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Platforms/Solaris

  (C++) SolarisPlatformUtils.o

CC: Warning: Option -ptr not supported

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Transcoders/IconvGNU

  (C++) IconvGNUTransService.o

CC: Warning: Option -ptr not supported

"/usr/include/wchar.h", line 23: Error: clock_t is not a member of
xercesc_2_8::std.

"/usr/include/wchar.h", line 25: Error: time_t is not a member of
xercesc_2_8::std.

"/usr/include/wchar.h", line 26: Error: tm is not a member of
xercesc_2_8::std.

"IconvGNUTransService.cpp", line 244: Error: An integer constant
expression is required within the array subscript operator.

"IconvGNUTransService.cpp", line 254: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 263: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 276: Error: An integer constant
expression is required within the array subscript operator.

"IconvGNUTransService.cpp", line 286: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 295: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 308: Error: An integer constant
expression is required within the array subscript operator.

"IconvGNUTransService.cpp", line 319: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 414: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 424: Error: Formal argument 2 of type
const char** in call to iconv(_iconv_info*, const char**, unsigned*,
char**, unsigned*) is being passed char**.

"IconvGNUTransService.cpp", line 1289: Error: An integer constant
expression is required within the array subscript operator.

14 Error(s) detected.

make[2]: *** [IconvGNUTransService.o] Error 14

make[1]: *** [transcoders] Error 2

make: *** [Util] Error 2

Micro Focus Live - May 11-13, 2009
100% Online - 100% Convenient - 100% Free
Industry Experts, Core Developers, Customer ROI Case Studies
Register today @ www.microfocuslive.com
 
Please consider the environment before printing this e-mail.

Reply via email to