Opened 14 years ago

Last modified 13 years ago

#331 closed defect

Geos build fails on linking on Solaris — at Initial Version

Reported by: sandy2010 Owned by: geos-devel@…
Priority: major Milestone:
Component: Build/Install Version: 3.1.1
Severity: Critical Keywords: sun, solaris, sparc
Cc:

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

Change History (0)

Note: See TracTickets for help on using tickets.