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
Robert Hillier | Principal Member of the Technical Staff
Phone: +44 1473 284912
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
Oracle is committed to developing practices and products that help protect the environment
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
static member function `static bool
isnan' undeclared in namespace `std'
gmake: *** [../../obj/DOMStringHelper.o] Error 1
Has anyone come across this before?