<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I have been working on compiling geos-3.6.0 on Solaris using Solaris
Studio 12 compiler.<br>
I am am nearly there (full details is for another email), but when
building ClassSizes i get the following error:<br>
<br>
<tt>gmake[4]: Entering directory `/tmp/geos-3.5.0/tests/perf'</tt><tt><br>
</tt><tt>source='ClassSizes.cpp' object='ClassSizes.o' libtool=no \</tt><tt><br>
</tt><tt>DEPDIR=.deps depmode=none /bin/sh ../../depcomp \</tt><tt><br>
</tt><tt>CC -D__C99FEATURES__ -DHAVE_CONFIG_H -I. -I../../include
-I../../include/geos -I../../include -m64 -pedantic -Wall
-Wno-long-long -m64 -c -o ClassSizes.o ClassSizes.cpp</tt><tt><br>
</tt><tt>"../../include/geos/geom/CoordinateArraySequence.h", line
124: Warning: geos::geom::CoordinateArraySequence::add hides the
function geos::geom::CoordinateSequence::add(const
std::vector<geos::geom::Coordinate>*, bool).</tt><tt><br>
</tt><tt>"../../include/geos/geom/CoordinateArraySequence.h", line
124: Warning: geos::geom::CoordinateArraySequence::add hides the
function geos::geom::CoordinateSequence::add(const
geos::geom::CoordinateSequence*, bool, bool).</tt><tt><br>
</tt><tt>2 Warning(s) detected.</tt><tt><br>
</tt><tt>/bin/sh ../../libtool --tag=CXX  --mode=link CC
-D__C99FEATURES__ -pedantic -Wall -Wno-long-long -m64 -lm -m64
-lCrun -lCstd -o ClassSizes ClassSizes.o </tt><tt><br>
</tt><tt>libtool: link: CC -D__C99FEATURES__ -pedantic -Wall
-Wno-long-long -m64 -m64 -o ClassSizes ClassSizes.o -lm -lCrun
-lCstd</tt><tt><br>
</tt><tt>Undefined                      first referenced</tt><tt><br>
</tt><tt> symbol                            in file</tt><tt><br>
</tt><tt>geos::geom::MultiPoint::__descr ClassSizes.o</tt><tt><br>
</tt><tt>[Hint: static member geos::geom::MultiPoint::__descr must
be defined in the program]</tt><tt><br>
</tt><tt>ld: fatal: symbol referencing errors</tt><tt><br>
</tt><tt>gmake[4]: *** [ClassSizes] Error 2</tt><tt><br>
</tt><tt>gmake[4]: Leaving directory `/tmp/geos-3.5.0/tests/perf'</tt><tt><br>
<br>
I have tracked it down that the Makefile.in is missing libgeos.la<br>
<br>
geos-3.5.0-origin/tests/perf/Makefile.inÂ
geos-3.5.0/tests/perf/Makefile.in<br>
278c278<br>
< LIBS = @LIBS@<br>
---<br>
> LIBS = $(top_builddir)/src/libgeos.la<br>
<br>
Not sure how it works with GNU, but I wonder if the above is
correct.<br>
<br>
Thanks,<br>
<br>
Andrew</tt><br>
<br>
<pre class="moz-signature" cols="72">--
Andrew Watkins * Birkbeck, University of London * Computer Science *
* <a class="moz-txt-link-freetext" href="http://notallmicrosoft.blogspot.com">http://notallmicrosoft.blogspot.com</a> *
* UKOUG Systems SIG Chair *
* UKOUG Tech committee *
* tel: 020 7631 6720 *
</pre>
</body>
</html>