[geos-devel] GEOS on Openmoko

Joseph Reeves iknowjoseph at gmail.com
Tue Jul 22 11:02:24 EDT 2008


Dear all,

I'm trying to compile SpatiaLite on the Openmoko platform using the toolchain:

http://www.gaia-gis.it/spatialite-2.0/index.html

http://wiki.openmoko.org/wiki/Toolchain

I've cross compiled PROJ.4 without any trouble, but am having issues
with GEOS. Version 3 seems to have particular issues:

joseph at joseph-work:~$ om-conf geos-3.0.0/
Source directory: /home/joseph/geos-3.0.0
Extra configure arguments:
automake (GNU automake) 1.10
Written by Tom Tromey <tromey at redhat.com>
       and Alexandre Duret-Lutz <adl at gnu.org>.

Copyright 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
AUTOV is 1
NOTE: Executing autoreconf --verbose --install --force -I
/home/joseph/geos-3.0.0/ -I /home/joseph/geos-3.0.0/macros/
-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal-1
-I /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf
--include=/home/joseph/geos-3.0.0/
--include=/home/joseph/geos-3.0.0/macros/
--include=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal-1
--include=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal
--force --warnings=cross
configure.in:159: error: possibly undefined macro: AC_PROG_SWIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
FATAL: autoreconf execution failed.
joseph at joseph-work:~$

So I tried 2.2.3 which configures much better (apologies for all the text) :

joseph at joseph-work:~$ om-conf geos-2.2.3/
Source directory: /home/joseph/geos-2.2.3
Extra configure arguments:
automake (GNU automake) 1.10
Written by Tom Tromey <tromey at redhat.com>
       and Alexandre Duret-Lutz <adl at gnu.org>.

Copyright 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
AUTOV is 1
NOTE: Executing autoreconf --verbose --install --force -I
/home/joseph/geos-2.2.3/ -I /home/joseph/geos-2.2.3/macros/
-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal-1
-I /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf
--include=/home/joseph/geos-2.2.3/
--include=/home/joseph/geos-2.2.3/macros/
--include=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal-1
--include=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal
--force --warnings=cross
autoreconf: running: /usr/bin/autoheader
--include=/home/joseph/geos-2.2.3/
--include=/home/joseph/geos-2.2.3/macros/
--include=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal-1
--include=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/share/aclocal/aclocal
--force --warnings=cross
autoreconf: running: automake --add-missing --copy --force-missing
--warnings=cross
automake: unknown warning category `cross'
autoreconf: Leaving directory `.'
NOTE: Running /home/joseph/geos-2.2.3/configure
--build=i686-linux              --host=arm-angstrom-linux-gnueabi
         --target=arm-angstrom-linux-gnueabi
--prefix=/usr                   --exec_prefix=/usr
--bindir=/usr/bin               --sbindir=/usr/sbin
 --libexecdir=/usr/libexec                  --datadir=/usr/share
             --sysconfdir=/etc               --sharedstatedir=/usr/com
              --localstatedir=/var
--libdir=/usr/lib                  --includedir=/usr/include
    --oldincludedir=/usr/include
--infodir=/usr/share/info               --mandir=/usr/share/man
                                    ...
checking build system type... i686-pc-linux-gnu
checking host system type... arm-angstrom-linux-gnueabi
checking target system type... arm-angstrom-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-angstrom-linux-gnueabi-strip...
arm-angstrom-linux-gnueabi-strip
checking for arm-angstrom-linux-gnueabi-gcc... ccache
arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t accepts -g... yes
checking for ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of ccache arm-angstrom-linux-gnueabi-gcc
-march=armv4t -mtune=arm920t... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t
-mtune=arm920t accepts -g... yes
checking dependency style of ccache arm-angstrom-linux-gnueabi-g++
-march=armv4t -mtune=arm920t... gcc3
checking for library containing strerror... none required
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by ccache arm-angstrom-linux-gnueabi-gcc
-march=armv4t -mtune=arm920t... arm-angstrom-linux-gnueabi-ld
checking if the linker (arm-angstrom-linux-gnueabi-ld) is GNU ld... yes
checking for arm-angstrom-linux-gnueabi-ld option to reload object files... -r
checking for BSD-compatible nm...
/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... arm-angstrom-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... ccache
arm-angstrom-linux-gnueabi-g++ -march=armv4t -mtune=arm920t -E
checking for arm-angstrom-linux-gnueabi-g77... ccache
arm-angstrom-linux-gnueabi-g77 -march=armv4t -mtune=arm920t
checking whether we are using the GNU Fortran 77 compiler... no
checking whether ccache arm-angstrom-linux-gnueabi-g77 -march=armv4t
-mtune=arm920t accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse
/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-nm -B output
from ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t object... ok
checking for objdir... .libs
checking for arm-angstrom-linux-gnueabi-ar... arm-angstrom-linux-gnueabi-ar
checking for arm-angstrom-linux-gnueabi-ranlib...
arm-angstrom-linux-gnueabi-ranlib
checking for arm-angstrom-linux-gnueabi-strip... (cached)
arm-angstrom-linux-gnueabi-strip
checking if ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t supports -fno-rtti -fno-exceptions... no
checking for ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t option to produce PIC... -fPIC
checking if ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t PIC flag -fPIC works... yes
checking if ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t static flag -static works... yes
checking if ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t supports -c -o file.o... yes
checking whether the ccache arm-angstrom-linux-gnueabi-gcc
-march=armv4t -mtune=arm920t linker (arm-angstrom-linux-gnueabi-ld)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... cross
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by ccache arm-angstrom-linux-gnueabi-g++
-march=armv4t -mtune=arm920t... arm-angstrom-linux-gnueabi-ld
checking if the linker (arm-angstrom-linux-gnueabi-ld) is GNU ld... yes
checking whether the ccache arm-angstrom-linux-gnueabi-g++
-march=armv4t -mtune=arm920t linker (arm-angstrom-linux-gnueabi-ld)
supports shared libraries... yes
checking for ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t
-mtune=arm920t option to produce PIC... -fPIC
checking if ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t
-mtune=arm920t PIC flag -fPIC works... yes
checking if ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t
-mtune=arm920t static flag -static works... yes
checking if ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t
-mtune=arm920t supports -c -o file.o... yes
checking whether the ccache arm-angstrom-linux-gnueabi-g++
-march=armv4t -mtune=arm920t linker (arm-angstrom-linux-gnueabi-ld)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ccache arm-angstrom-linux-gnueabi-g77 -march=armv4t
-mtune=arm920t option to produce PIC... -fPIC
checking if ccache arm-angstrom-linux-gnueabi-g77 -march=armv4t
-mtune=arm920t PIC flag -fPIC works... no
checking if ccache arm-angstrom-linux-gnueabi-g77 -march=armv4t
-mtune=arm920t static flag -static works... no
checking if ccache arm-angstrom-linux-gnueabi-g77 -march=armv4t
-mtune=arm920t supports -c -o file.o... no
checking whether the ccache arm-angstrom-linux-gnueabi-g77
-march=armv4t -mtune=arm920t linker (arm-angstrom-linux-gnueabi-ld)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether long int is 64 bits... configure: WARNING: 64 bit
arithmetic disabled when cross-compiling
no
checking whether long long int is 64 bits... configure: WARNING: 64
bit arithmetic disabled when cross-compiling
no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether closedir returns void... yes
checking for working memcmp... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for ANSI C header files... (cached) yes
checking for memory.h... (cached) yes
checking for unistd.h... (cached) yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for strchr... yes
checking for memcpy... yes
checking whether stat file-mode macros are broken... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for size_t... yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating source/Makefile
config.status: creating source/capi/Makefile
config.status: creating source/geom/Makefile
config.status: creating source/headers/Makefile
config.status: creating source/headers/geos/Makefile
config.status: creating tools/Makefile
config.status: creating tools/geos-config
config.status: creating macros/Makefile
config.status: creating source/test/Makefile
config.status: creating source/bigtest/Makefile
config.status: creating doc/Makefile
config.status: creating source/headers/geos/version.h
config.status: creating doc/Doxyfile
config.status: creating swig/Makefile
config.status: creating swig/python/Makefile
config.status: creating swig/python/tests/Makefile
config.status: creating swig/python/tests/cases/Makefile
config.status: creating swig/ruby/Makefile
config.status: creating swig/ruby/test/Makefile
config.status: creating VisualStudio/Makefile
config.status: creating source/capi/geos_c.h
config.status: creating source/headers/config.h
config.status: source/headers/config.h is unchanged
config.status: creating source/headers/geos/platform.h
config.status: source/headers/geos/platform.h is unchanged
config.status: executing depfiles commands
joseph at joseph-work:~$

But I can't make it:

joseph at joseph-work:~$ cd geos-2.2.3/
joseph at joseph-work:~/geos-2.2.3$ make
Making all in source
make[1]: Entering directory `/home/joseph/geos-2.2.3/source'
Making all in geom
make[2]: Entering directory `/home/joseph/geos-2.2.3/source/geom'
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache
arm-angstrom-linux-gnueabi-g++ -march=armv4t -mtune=arm920t
-DHAVE_CONFIG_H -I. -I../../source/headers -I../../source/headers/geos
-I../../source/headers -DGEOS_VERSION=""2.2.3""
-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-fpermissive -fvisibility-inlines-hidden -MT Coordinate.lo -MD -MP -MF
.deps/Coordinate.Tpo -c -o Coordinate.lo Coordinate.cpp
 ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t -mtune=arm920t
-DHAVE_CONFIG_H -I. -I../../source/headers -I../../source/headers/geos
-I../../source/headers -DGEOS_VERSION=2.2.3
-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-fpermissive -fvisibility-inlines-hidden -MT Coordinate.lo -MD -MP -MF
.deps/Coordinate.Tpo -c Coordinate.cpp  -fPIC -DPIC -o
.libs/Coordinate.o
In file included from Coordinate.cpp:16:
../../source/headers/geos/geom.h:20:18: error: memory: No such file or directory
../../source/headers/geos/geom.h:21:20: error: iostream: No such file
or directory
../../source/headers/geos/geom.h:22:18: error: string: No such file or directory
../../source/headers/geos/geom.h:23:18: error: vector: No such file or directory
../../source/headers/geos/geom.h:24:21: error: algorithm: No such file
or directory
../../source/headers/geos/geom.h:25:15: error: map: No such file or directory
../../source/headers/geos/geom.h:26:17: error: cmath: No such file or directory
In file included from ../../source/headers/geos/geom.h:27,
                 from Coordinate.cpp:16:
../../source/headers/geos/platform.h:37:2: warning: #warning "Could
not find 64bit integer definition!"
Coordinate.cpp:17:19: error: sstream: No such file or directory
../../source/headers/geos/geom.h:37: error: 'string' does not name a type
../../source/headers/geos/geom.h:44: error: 'string' does not name a type
../../source/headers/geos/geom.h:291: error: 'string' does not name a type
../../source/headers/geos/geom.h:317: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:356: error: 'string' does not name a type
../../source/headers/geos/geom.h:476: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h: In member function 'double
geos::Coordinate::distance(const geos::Coordinate&) const':
../../source/headers/geos/geom.h:444: error: 'sqrt' was not declared
in this scope
../../source/headers/geos/geom.h: In static member function 'static
int geos::Coordinate::hashCode(double)':
../../source/headers/geos/geom.h:461: warning: right shift count >=
width of type
../../source/headers/geos/geom.h: At global scope:
../../source/headers/geos/geom.h:600: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:600: error: 'vector' declared as a
'virtual' field
../../source/headers/geos/geom.h:600: error: expected ';' before '<' token
../../source/headers/geos/geom.h:609: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:609: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:652: error: 'string' does not name a type
../../source/headers/geos/geom.h:655: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:655: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:733: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:733: error: expected ';' before '<' token
../../source/headers/geos/geom.h:739: error: expected `)' before '<' token
../../source/headers/geos/geom.h:750: error: 'string' does not name a type
../../source/headers/geos/geom.h:751: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:751: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:753: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:753: error: expected ';' before '<' token
../../source/headers/geos/geom.h:785: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:785: error: expected ';' before '<' token
../../source/headers/geos/geom.h:786: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:786: error: expected ';' before '<' token
../../source/headers/geos/geom.h:787: error: 'string' does not name a type
../../source/headers/geos/geom.h:788: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:788: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:789: error: 'vector' has not been declared
../../source/headers/geos/geom.h:789: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:789: error: 'void
geos::PointCoordinateSequence::setPoints(int)' cannot be overloaded
../../source/headers/geos/geom.h:788: error: with 'void
geos::PointCoordinateSequence::setPoints(int)'
../../source/headers/geos/geom.h:791: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:791: error: expected ';' before '<' token
../../source/headers/geos/geom.h:792: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:792: error: expected ';' before '<' token
../../source/headers/geos/geom.h:827: error: 'create' declared as a
'virtual' field
../../source/headers/geos/geom.h:827: error: expected ';' before '(' token
../../source/headers/geos/geom.h:856: error: expected ';' before '(' token
../../source/headers/geos/geom.h:875: error: expected ';' before '(' token
../../source/headers/geos/geom.h:1009: error: 'string' does not name a type
../../source/headers/geos/geom.h:1022: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:1218: error: 'string' does not name a type
../../source/headers/geos/geom.h:1310: error: 'string' has not been declared
../../source/headers/geos/geom.h:1322: error: 'string' does not name a type
../../source/headers/geos/geom.h:1324: error: 'string' does not name a type
../../source/headers/geos/geom.h:1422: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:1422: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:1428: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:1428: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:1446: error: 'vector' has not been declared
../../source/headers/geos/geom.h:1446: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:1447: error: 'vector' has not been declared
../../source/headers/geos/geom.h:1447: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:1447: error: 'int
geos::Geometry::compare(int) const' cannot be overloaded
../../source/headers/geos/geom.h:1446: error: with 'int
geos::Geometry::compare(int) const'
../../source/headers/geos/geom.h:1471: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:1596: error: 'string' does not name a type
../../source/headers/geos/geom.h:1601: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:1609: error: expected `)' before 'elements'
../../source/headers/geos/geom.h:1613: error: 'string' has not been declared
../../source/headers/geos/geom.h:1613: error: 'string' has not been declared
../../source/headers/geos/geom.h:1616: error: 'string' has not been declared
../../source/headers/geos/geom.h:1619: error: 'string' has not been declared
../../source/headers/geos/geom.h:1630: error: 'string' has not been declared
../../source/headers/geos/geom.h:1632: error: 'string' does not name a type
../../source/headers/geos/geom.h:1725: error: expected `)' before '<' token
../../source/headers/geos/geom.h:1765: error: 'string' does not name a type
../../source/headers/geos/geom.h:1787: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:1787: error: expected ';' before '<' token
../../source/headers/geos/geom.h:1794: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:1857: error: 'string' does not name a type
../../source/headers/geos/geom.h:1878: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:1928: error: 'string' does not name a type
../../source/headers/geos/geom.h:1955: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:1990: error: 'string' does not name a type
../../source/headers/geos/geom.h:1999: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:2042: error: 'vector' has not been declared
../../source/headers/geos/geom.h:2042: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:2075: error: 'string' does not name a type
../../source/headers/geos/geom.h:2096: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:2096: error: expected ';' before '<' token
../../source/headers/geos/geom.h:2103: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:2132: error: expected `)' before '<' token
../../source/headers/geos/geom.h:2145: error: 'string' does not name a type
../../source/headers/geos/geom.h:2156: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:2186: error: expected `)' before '<' token
../../source/headers/geos/geom.h:2203: error: 'string' does not name a type
../../source/headers/geos/geom.h:2212: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:2245: error: expected `)' before '<' token
../../source/headers/geos/geom.h:2262: error: 'string' does not name a type
../../source/headers/geos/geom.h:2270: warning: overflow in implicit
constant conversion
../../source/headers/geos/geom.h:2361: error: expected ';' before '(' token
../../source/headers/geos/geom.h:2364: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:2364: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:2370: error: expected ';' before '(' token
../../source/headers/geos/geom.h:2373: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:2373: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:2379: error: expected ';' before '(' token
../../source/headers/geos/geom.h:2382: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:2382: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:2397: error: expected ';' before '(' token
../../source/headers/geos/geom.h:2400: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:2400: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:2409: error: 'vector' has not been declared
../../source/headers/geos/geom.h:2409: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:2412: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:2412: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:2424: error: expected ';' before '(' token
../../source/headers/geos/geom.h:2427: error: expected ',' or '...'
before '<' token
../../source/headers/geos/geom.h:2427: warning: ISO C++ forbids
declaration of 'vector' with no type
../../source/headers/geos/geom.h:2445: warning: overflow in implicit
constant conversion
Coordinate.cpp:28: error: 'string' does not name a type
make[2]: *** [Coordinate.lo] Error 1
make[2]: Leaving directory `/home/joseph/geos-2.2.3/source/geom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joseph/geos-2.2.3/source'
make: *** [all-recursive] Error 1
joseph at joseph-work:~/geos-2.2.3$

A large number of required files seem to have not been created? Any
help with this would be greatly appreciated.

Thanks in advance,

Joseph


More information about the geos-devel mailing list