[geos-devel] Compiling on Solaris
Joshua Buysse
buysse at socsci.umn.edu
Thu Sep 9 15:08:26 EDT 2004
I'm attempting to package PostGIS, Mapserver, etc. for Solaris
as part of the CSW effort (http://www.blastwave.org/). Under
our packaging standards, we're limited to using the Sun compilers
as much as humanly possible, and I'm getting the following
errors when compiling geos 1.0 (on PolygonBuilder.cpp). Any ideas?
/bin/bash ../../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I.
-I../../source
/headers -I../../source/headers -I../../source/headers
-DGEOS_VERSION=""1.0""
-g -c -o PolygonBuilder.lo `test -f
'../operation/overlay/PolygonBuilder.cpp' |
| echo './'`../operation/overlay/PolygonBuilder.cpp
rm -f .libs/PolygonBuilder.lo
CC -DHAVE_CONFIG_H -I. -I. -I../../source/headers
-I../../source/headers -I../..
/source/headers -DGEOS_VERSION=1.0 -g -c
../operation/overlay/PolygonBuilder.cpp
-KPIC -DPIC -o .libs/PolygonBuilder.lo
"../operation/overlay/../../headers/geom.h", line 946: Warning:
geos::LineString
::compareTo hides the virtual function geos::Geometry::compareTo(const
geos::Geo
metry*) const.
"../operation/overlay/../../headers/geom.h", line 1031: Warning:
geos::MultiPoin
t::getCoordinate hides the virtual function
geos::GeometryCollection::getCoordin
ate() const.
"../operation/overlay/../../headers/indexStrtree.h", line 153: Warning:
geos::SI
Rtree::insert hides the virtual function
geos::AbstractSTRtree::insert(void*, vo
id*).
"../operation/overlay/../../headers/indexStrtree.h", line 153: Warning:
geos::SI
Rtree::query hides the virtual function
geos::AbstractSTRtree::query(void*).
"../operation/overlay/../../headers/indexStrtree.h", line 153: Warning:
geos::SI
Rtree::query hides the virtual function
geos::AbstractSTRtree::query(void*, geos
::AbstractNode*, std::vector<void*>*).
"../operation/overlay/../../headers/geosAlgorithm.h", line 190:
Warning: geos::R
obustLineIntersector::computeIntersection hides the virtual function
geos::LineI
ntersector::computeIntersection(const geos::Coordinate&, const
geos::Coordinate&
, const geos::Coordinate&, const geos::Coordinate&).
"../operation/overlay/../../headers/geosAlgorithm.h", line 201:
Warning: geos::N
onRobustLineIntersector::computeIntersection hides the virtual function
geos::Li
neIntersector::computeIntersection(const geos::Coordinate&, const
geos::Coordina
te&, const geos::Coordinate&, const geos::Coordinate&).
"../operation/overlay/../../headers/geosAlgorithm.h", line 275:
Warning: geos::M
CPointInRing::MCSelecter::select hides the virtual function
geos::MonotoneChainS
electAction::select(geos::indexMonotoneChain*, int).
"../operation/overlay/../../headers/graph.h", line 228: Warning:
geos::Edge::upd
ateIM hides the virtual function
geos::GraphComponent::updateIM(geos::Intersecti
onMatrix*).
"../operation/overlay/../../headers/graph.h", line 350: Warning:
geos::Node::set
Label hides the virtual function
geos::GraphComponent::setLabel(geos::Label*).
"../operation/overlay/../../headers/graph.h", line 606: Warning:
geos::GeometryG
raph::findEdge hides the virtual function
geos::PlanarGraph::findEdge(const geos
::Coordinate&, const geos::Coordinate&).
"../operation/overlay/../../headers/graph.h", line 606: Warning:
geos::GeometryG
raph::add hides the virtual function
geos::PlanarGraph::add(geos::EdgeEnd*).
"../operation/overlay/PolygonBuilder.cpp", line 127: Error: Could not
find a mat
ch for std::vector<geos::EdgeRing*>::insert(geos::EdgeRing**,
geos::MinimalEdgeR
ing**, geos::MinimalEdgeRing**).
1 Error(s) and 12 Warning(s) detected.
gmake[2]: *** [PolygonBuilder.lo] Error 1
gmake[2]: Leaving directory
`/export/home/buysse/build/geos-1.0/source/geom'
gmake[1]: *** [all-recursive] Error 1
--
Josh Buysse, Sysadmin
Social Science Research Facility University of Minnesota
"What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the name
of totalitarianism or the holy name of liberty or democracy?"
-- Mahatma Gandhi, "Non-Violence in Peace and War"
More information about the geos-devel
mailing list