[OSM-dev] osm2pgsql - comile problems

Jan-Benedict Glaw jbglaw at lug-owl.de
Sun Mar 18 17:54:10 GMT 2007

On Sun, 2007-03-18 17:15:43 +0000, Nick Black <nickblack1 at gmail.com> wrote:
> I'm trying to compile the latest version of osm2pgsql  - Revision:
> 2269/non experimental.  I have geos version 3.0.0rc4 and g++ (GCC)
> 4.1.2.  When I try to 'make' I get an error:
> /usr/src/svn.openstreetmap.org/utils/osm2pgsql/build_geometry.cpp:72:
> undefined reference to
> `geos::geom::GeometryFactory::GeometryFactory()'
> I don't know much about C++, but I thought "undifined reference"
> errors came from compiling C++ using a C compiler?
> Are there any workarounds for this?

Getting the complete build log (including the compiler call) would
probably help:

$ make > make.log 2>&1

Then show us the output file (make.log).


      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of: 23:53 <@jbglaw> So, ich kletter' jetzt mal ins Bett.
the second  : 23:57 <@jever2> .oO( kletter ..., hat er noch Gitter vorm Bett, wie früher meine Kinder?)
              00:00 <@jbglaw> jever2: *patsch*
              00:01 <@jever2> *aua*, wofür, Gedanken sind frei!
              00:02 <@jbglaw> Nee, freie Gedanken, die sind seit 1984 doch aus!
              00:03 <@jever2> 1984? ich bin erst seit 1985 verheiratet!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070318/5e45e6df/attachment.pgp>

More information about the dev mailing list