[geos-devel] Portability Modifications
Paul Ramsey
pramsey at refractions.net
Thu Oct 24 11:47:11 EDT 2002
Hm, this patch does not change things for me at all... the initial
compilation of CTS.o works fine, and there are good include paths on the
command line... it is at the link stage where things bomb.
g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../headers
-I../io/markup -g -O2 -c CTS.cpp
/bin/sh ../../libtool --mode=link g++ -g -O2 -o CTS CTS.o
../geom/libgeos.la ../geom/libgeos.la
mkdir .libs
g++ -g -O2 -o .libs/CTS CTS.o ../geom/.libs/libgeos.so -Wl,--rpath
-Wl,/usr/local/lib
CTS.o: In function `ParseException type_info function':
/home/pramsey/geos/source/test/CTS.cpp:524: undefined reference to
`ParseException::~ParseException(void)'
../geom/.libs/libgeos.so: undefined reference to `Assert::isTrue(bool)'
../geom/.libs/libgeos.so: undefined reference to
'IsSimpleOp::isSimple(LineString *)'
....
etc....
....
Norman Vine wrote:
> Paul Ramsey writes:
>
>>Norman,
>>I can compile almost everything now, the only exceptions are in
>>source/test, the CTS program dies when it tries to link. I am too thick
>>to quite understand all the interdependencies going on, I am afraid.
>
>
> Looks like there is a $PATH problem that somehow I missed before
> funny though in that I was sure that I tested this ???
>
> anyway It all compiles for me with the following patch
>
> Will take a look at the Makefiles when I get some time :-)
>
> HTH
>
> Norman
>
>
>
> Index: CTS.cpp
> ===================================================================
> RCS file: /home/cvs/postgis/geos/source/test/CTS.cpp,v
> retrieving revision 1.2
> diff -r1.2 CTS.cpp
> 4d3
> < #include "io.h"
> 5a5,7
>
>>#include "../headers/geom.h"
>>#include "../headers/io.h"
>>
>
> Index: SimpleWKTTester.cpp
> ===================================================================
> RCS file: /home/cvs/postgis/geos/source/test/SimpleWKTTester.cpp,v
> retrieving revision 1.2
> diff -r1.2 SimpleWKTTester.cpp
> 6c6
> < #include "io.h"
> ---
>
>>#include "../headers/io.h"
>
> Index: XMLTester.cpp
> ===================================================================
> RCS file: /home/cvs/postgis/geos/source/test/XMLTester.cpp,v
> retrieving revision 1.5
> diff -r1.5 XMLTester.cpp
> 1d0
> < #include "MarkupSTL.h"
> 6,9c5,9
> < #include "util.h"
> < #include "graph.h"
> < #include "io.h"
> < #include "opRelate.h"
> ---
>
>>#include "../headers/util.h"
>>#include "../headers/graph.h"
>>#include "../headers/io.h"
>>#include "../headers/opRelate.h"
>>#include "../io/markup/MarkupSTL.h"
>
>
>
>
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
>
--
__
/
| Paul Ramsey
| Refractions Research
| Email: pramsey at refractions.net
| Phone: (250) 885-0632
\_
More information about the geos-devel
mailing list