That looks like an issue I had with building it for solarisstudio 12.3. Does the following help:
Change src/xalanc/PlatformSupport/DoubleSupport.hpp as follows: - add an #if defined(SOLARIS) / #include <math.h> / #endif section - in the isNAN(double) function put an #if defined(SOLARIS) / return isnan(theNumber) != 0; / #else / and #endif around the return std::isnan(theNumber) != 0; line From: Robert Hillier [mailto:robert.hill...@oracle.com] Sent: Tuesday, November 27, 2012 6:20 PM To: c-users@xalan.apache.org Subject: Building xalan-c 1.11 with Solaris 10 and gcc 3.2.3 -- [cid:image001.gif@01CDCCD0.84AC7150]<http://www.oracle.com/> Robert Hillier | Principal Member of the Technical Staff Phone: +44 1473 284912<tel:+44%201473%20284912> Oracle Communications Robert Ransom House | Carr Street | Ipswich | IP4 1ER | United Kingdom ORACLE Corporation UK Ltd is a company incorporated in England & Wales | Company Reg. No. 1782505 | Reg. office: Oracle Parkway, Thames Valley Park, Reading RG6 1RA [cid:image002.gif@01CDCCD0.84AC7150]<http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment From: Robert Hillier Sent: 27 November 2012 17:13 To: c-users@xalan.apache.org<mailto:c-users@xalan.apache.org> Subject: Building xalan-c 1.11 with Solaris 10 and gcc 3.2.3 Hello, I'm having some problems building the latest xalan-c on a Solaris 10 platform. I configure with the following options: ./runConfigure -p solaris -c gcc -x g++ -P /my/dest When I try and build, I get the following error when compiling DOMStringHelper.cpp: In file included from <myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/DOMStringHelper.cpp:50: <myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/DoubleSupport.hpp: In static member function `static bool xalanc_1_11::DoubleSupport::isNaN(double)': <myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/DoubleSupport.hpp:86: ` isnan' undeclared in namespace `std' gmake[2]: *** [../../obj/DOMStringHelper.o] Error 1 Has anyone come across this before? Thanks, Rob ________________________________ The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@usoft.com and then delete it from your system. USoft is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
<<inline: image001.gif>>
<<inline: image002.gif>>