Version: 1.0.0_devel (using KDE 3.3.0, compiled sources) Compiler: gcc version 3.3.2 OS: SunOS (sun4u) release 5.8 Some important lines have disappeared recently from kst2dplot.cpp. They allowed it to compile on a Solaris box :-) It has to do with a "ieefp.h" header and the isinf() function. A patch follows (my first patch :-) !
Created attachment 7472 [details] A patch that allows compilation on a Solaris 8 machine... That solved the problem for me.
CVS commit by staikos: slightly modified patch to fix solaris build CCMAIL: 89179-done@bugs.kde.org M +8 -1 kst2dplot.cpp 1.261 --- kdeextragear-2/kst/kst/kst2dplot.cpp #1.260:1.261 @@ -18,4 +18,7 @@ #include <assert.h> #include <float.h> +#ifdef __sun +#include <ieeefp.h> +#endif #include <limits.h> #include <math.h> @@ -54,6 +57,10 @@ #endif +#if defined(__SVR4) && defined(__sun) + inline int isinf(double x) { return x == x && !finite(x); } +#endif + static double ticks[] = {1.0, 2.0, 4.0, 5.0, 10.0}; -static int iNumTicks = sizeof( ticks ) / sizeof( double ); +static int iNumTicks = sizeof(ticks) / sizeof(double); inline int d2i(double x) {