[geos-devel] build problem on Solaris

strk at refractions.net strk at refractions.net
Tue Nov 30 07:54:48 EST 2004


On Mon, Nov 22, 2004 at 06:32:09PM +0100, Jan Kolar wrote:
> i just want to reposrt that addinig
> #include <ieeefp.h>
> #include <stdio.h>
> to ./source/headers/geos/platform.h has solved the initial compilation
> problem. thank you --kolda

Thanks kolda, I've updated GEOS to include ieeefp.h when available.
If you update your snapshot you should find stdio.h to not be
needed anymore. If this is not the case, or anything is still
failing please let me know.
--strk;


> 
> 
> On Fri, 19 Nov 2004, Jan Kolar wrote:
> 
> > ok, including 
> > #include <ieeefp.h>
> > in platforms.h solves the problem with finite()/isinf() functions. to what
> > has been posted i can add that i have found that isinf() was in earlier
> > versions of Solaris, however since Solaris 8/9 isinf() doesn't exist at
> > all. so no i get further and have a new error :(
> > 
> >  g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers
> > -I../../source/headers/geos -I../../source/headers -DGEOS_VERSION=2.1.0 -g
> > -O2 -c ../index/quadtree/QuadTreeNode.cpp -Wp,-MD,.deps/QuadTreeNode.TPlo
> > -fPIC -DPIC -o .libs/QuadTreeNode.o
> > ../index/quadtree/QuadTreeNode.cpp: In method `class string
> > geos::QuadTreeNode::toString() const':
> > ../index/quadtree/QuadTreeNode.cpp:175: implicit declaration of function
> > `int geos::sprintf(...)'
> > *** Error code 1
> > make: Fatal error: Command failed for target `QuadTreeNode.lo'
> > Current working directory
> > /group/3dgidata/Postgres/source/postgresql-7.4.6/contrib/geos-2.1.0/source/geom
> > *** Error code 1
> > make: Fatal error: Command failed for target `all-recursive'
> > Current working directory
> > /group/3dgidata/Postgres/source/postgresql-7.4.6/contrib/geos-2.1.0/source
> > *** Error code 1
> > make: Fatal error: Command failed for target `all-recursive'
> > 
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
> > 
> 
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel



More information about the geos-devel mailing list