[geos-devel] build problem on Solaris
strk at refractions.net
strk at refractions.net
Fri Nov 19 06:49:34 EST 2004
On Fri, Nov 19, 2004 at 12:05:11PM +0100, Jan Kolar wrote:
> using LDFLAGS=-lstdc++ does not help to me. compilation exits at the same
> point with the same error. any other suggestions? --kolda
Try adding this macro in geos/platform.h:
#define finite(x) (!isinf((x)) && !isnan((x))
--strk;
>
> On Thu, 18 Nov 2004, [ISO-8859-1] Quiñones Victor wrote:
>
> > On Thu, 18 Nov 2004 20:53:25 +0100 (CET)
> > Jan Kolar <kolda at 3dgi.dk> wrote:
> >
> > #i am using following SPARC machine:
> > #Sun Microsystems Inc. SunOS 5.9
> > #GNU Make 3.80
> > #gcc (GCC) 3.3.2
> > #when attempt to compile geos-2.0.1 make exits with following:
> > # g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers
> > #-I../../source/headers/geos -I../../source/headers -DGEOS
> > #_VERSION=2.0.1 -g -O2 -MT IsValidOp.lo -MD -MP -MF .deps/IsValidOp.Tpo -c
> > #../operation/valid/IsValidOp.cpp -
> > #fPIC -DPIC -o .libs/IsValidOp.o
> > #../operation/valid/IsValidOp.cpp: In static member function `static bool
> > # geos::IsValidOp::isValid(const geos::Coordinate&)':
> > #../operation/valid/IsValidOp.cpp:107: error: `finite' undeclared (first
> > #use
> > # this function)
> > #../operation/valid/IsValidOp.cpp:107: error: (Each undeclared identifier
> > #is
> > # reported only once for each function it appears in.)
> > #make[2]: *** [IsValidOp.lo] Error 1
> > #make[2]: Leaving directory
> > #`/group/3dgidata/PostgreSQLDB/test/postgresql-7.4.1/contrib/geos-2.0.1/source/geom
> > #'
> > #make[1]: *** [all-recursive] Error 1
> > #make[1]: Leaving directory
> > #`/group/3dgidata/PostgreSQLDB/test/postgresql-7.4.1/contrib/geos-2.0.1/source'
> > #make: *** [all-recursive] Error 1
> > #
> > #any suggestions? (i can build geos1.0 on the same machine)
> >
> > LDFLAGS=-lstdc++
> >
> > i did and works!
> > #
> > #thank you --kolda
> > #
> > #_______________________________________________
> > #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
> >
>
> _______________________________________________
> 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