[geos-devel] Re: [GEOS] #331: Geos build fails on linking on Solaris
GEOS
geos-trac at osgeo.org
Fri Feb 12 10:31:16 EST 2010
#331: Geos build fails on linking on Solaris
-------------------------------+--------------------------------------------
Reporter: sandy2010 | Owner: geos-devel at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone:
Component: Default | Version: 3.1.1
Severity: Critical | Resolution:
Keywords: sun,solaris,sparc |
-------------------------------+--------------------------------------------
Old description:
> I'm building geos-3.1.1 on Solaris (5.9 sparc and 5.10 x86) and used all
> the 3 patches uploaded by rroliver in ticket #224.
>
> and I get some issue during link time with multiple symbol definitions.
> When I provide --disable-inline during configure, it gives me the
> following error on linking:
>
> CC -G -zdefs -hlibgeos-3.1.1.so -o .libs/libgeos-3.1.1.so
> .libs/inlines.o -Qoption ld -z -Qoption ld
> allextract,algorithm/.libs/libalgorithm.a,geom/.libs/libgeom.a,geomgraph/.libs/libgeomgraph.a,index/.libs/libindex.a,io/.libs/libio.a,noding/.libs/libnoding.a,operation/.libs/liboperation.a,planargraph/.libs/libplanargraph.a,precision/.libs/libprecision.a,simplify/.libs/libsimplify.a,util/.libs/libutil.a
> -Qoption ld -z -Qoption ld defaultextract -lCstd -lCrun -lc
>
> Undefined first referenced
> symbol in file
>
> cos
> operation/.libs/liboperation.a(OffsetCurveBuilder.o)
> log
> geom/.libs/libgeom.a(PrecisionModel.o)
> pow index/.libs/libindex.a(DoubleBits.o)
> sin
> operation/.libs/liboperation.a(OffsetCurveBuilder.o)
> ceil
> geom/.libs/libgeom.a(PrecisionModel.o)
> fabs
> algorithm/.libs/libalgorithm.a(CGAlgorithms.o)
> sqrt
> algorithm/.libs/libalgorithm.a(CGAlgorithms.o)
> atan2 geom/.libs/libgeom.a(LineSegment.o)
> floor
> algorithm/.libs/libalgorithm.a(RobustDeterminant.o)
> __fabsl
> algorithm/.libs/libalgorithm.a(HCoordinate.o)
> ld: fatal: Symbol referencing errors. No output written to
> .libs/libgeos-3.1.1.so
> make[2]: *** [libgeos.la] Error 1
> make[2]: Leaving directory `/opt/geos-3.1.1/source'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/geos-3.1.1/source'
> make: *** [all-recursive] Error 1
New description:
I'm building geos-3.1.1 on Solaris (5.9 sparc and 5.10 x86) and used all
the 3 patches uploaded by rroliver in ticket #224.
and I get some issue during link time with multiple symbol definitions.
When I provide --disable-inline during configure, it gives me the
following error on linking:
{{{
CC -G -zdefs -hlibgeos-3.1.1.so -o .libs/libgeos-3.1.1.so
.libs/inlines.o -Qoption ld -z -Qoption ld
allextract,algorithm/.libs/libalgorithm.a,geom/.libs/libgeom.a,geomgraph/.libs/libgeomgraph.a,index/.libs/libindex.a,io/.libs/libio.a,noding/.libs/libnoding.a,operation/.libs/liboperation.a,planargraph/.libs/libplanargraph.a,precision/.libs/libprecision.a,simplify/.libs/libsimplify.a,util/.libs/libutil.a
-Qoption ld -z -Qoption ld defaultextract -lCstd -lCrun -lc
Undefined first referenced
symbol in file
cos operation/.libs/liboperation.a(OffsetCurveBuilder.o)
log geom/.libs/libgeom.a(PrecisionModel.o)
pow index/.libs/libindex.a(DoubleBits.o)
sin operation/.libs/liboperation.a(OffsetCurveBuilder.o)
ceil geom/.libs/libgeom.a(PrecisionModel.o)
fabs algorithm/.libs/libalgorithm.a(CGAlgorithms.o)
sqrt algorithm/.libs/libalgorithm.a(CGAlgorithms.o)
atan2 geom/.libs/libgeom.a(LineSegment.o)
floor algorithm/.libs/libalgorithm.a(RobustDeterminant.o)
__fabsl algorithm/.libs/libalgorithm.a(HCoordinate.o)
ld: fatal: Symbol referencing errors. No output written to
.libs/libgeos-3.1.1.so
make[2]: *** [libgeos.la] Error 1
make[2]: Leaving directory `/opt/geos-3.1.1/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/geos-3.1.1/source'
make: *** [all-recursive] Error 1
}}}
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/331#comment:2>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list