Robert Hillier created XALANC-737:
-------------------------------------
Summary: Xalan-C fails to build on Solaris
Key: XALANC-737
URL: https://issues.apache.org/jira/browse/XALANC-737
Project: XalanC
Issue Type: Bug
Components: XalanC
Affects Versions: 1.11
Environment: Solaris 10u10
gcc-2.3.2
xerces-c 3.1.1
Reporter: Robert Hillier
Assignee: Steven J. Hathaway
I am trying to build xalan-c on a Solaris environment using gcc 2.3.2.
xerces-c 3.1.1 has built successfully. I am configuring and building as
follows:
./runConfigure -p solaris -c gcc -x g++
gmake install
The build fails with the followign error:
g++ -O -DNDEBUG -pthreads -D_REENTRANT -fno-elide-constructors -Wall -fPIC
-DSOLARIS -D_REENTRANT -DXALAN_NLS_MSG_LOADER -c -I<myPath>/xalan-c-1.11/c/src
-I<myPath/xalan-c-1.11/c/include -I../../nls/include -I<myPath>/src/
-I<myPath>/include/xercesc -I<myPath>/include/ -o
../../obj/XalanNLSMessageLoader.o
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp:91:
syntax
error before `*' token
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp:93:
prototype
for `bool xalanc_1_11::XalanNLSMessageLoader::loadMsg(...)' does not match
any in class `xalanc_1_11::XalanNLSMessageLoader'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.hpp:50:
candidate
is: virtual bool
xalanc_1_11::XalanNLSMessageLoader::loadMsg(xalanc_1_11::XalanMessages::Codes,
XalanDOMChar*, unsigned int)
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp: In
member function `bool xalanc_1_11::XalanNLSMessageLoader::loadMsg(...)':
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp:97:
`
toFill' undeclared (first use this function)
<myPath>/xalan/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp:97:
(Each
undeclared identifier is reported only once for each function it appears
in.)
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp:97:
`
maxChars' undeclared (first use this function)
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp:102:
invalid
static_cast from type `_nl_catd_struct*' to type `int'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp:118:
`
msgToLoad' undeclared (first use this function)
gmake[2]: *** [../../obj/XalanNLSMessageLoader.o] Error 1
gmake[2]: Leaving directory `<myPath>/xalan-c-1.11/c/src/xalanc'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `<myPath>/xalan-c-1.11/c'
gmake: *** [install] Error 2
Where <myPath is my installation and build directory.
Any help would be much appreciated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]