[geos-devel] build problem on Solaris

Jan Kolar kolda at 3dgi.dk
Mon Nov 22 12:32:09 EST 2004


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


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
> 




More information about the geos-devel mailing list