[Tile-serving] [osm2pgsql] Errors building on FreeBSD (#184)

Paul Norman notifications at github.com
Tue Sep 23 23:16:11 UTC 2014


A standard ``./autogen.sh && ./configure && gmake`` results in errors with 8fc89648fa877674e889cd26014815a3f029e039

```
$ gmake
gmake  all-am
gmake[1]: Entering directory `/usr/home/pnorman/osm/osm2pgsql'
cc -DHAVE_CONFIG_H -I.  -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include -I/usr/local/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback   -D_THREAD_SAFE -pthread  -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.85.0"'  -g -O2 -MT parse-pbf.o -MD -MP -MF .deps/parse-pbf.Tpo -c -o parse-pbf.o parse-pbf.c
parse-pbf.c:239:39: error: use of undeclared identifier 'protobuf_c_default_allocator'
  header_block__free_unpacked (hmsg, &protobuf_c_default_allocator);
                                      ^
parse-pbf.c:523:42: error: use of undeclared identifier 'protobuf_c_default_allocator'
  primitive_block__free_unpacked (pmsg, &protobuf_c_default_allocator);
                                         ^
parse-pbf.c:588:37: error: use of undeclared identifier 'protobuf_c_default_allocator'
    blob__free_unpacked (blob_msg, &protobuf_c_default_allocator);
                                    ^
parse-pbf.c:589:47: error: use of undeclared identifier 'protobuf_c_default_allocator'
    block_header__free_unpacked (header_msg, &protobuf_c_default_allocator);
                                              ^
4 errors generated.
gmake[1]: *** [parse-pbf.o] Error 1
gmake[1]: Leaving directory `/usr/home/pnorman/osm/osm2pgsql'
gmake: *** [all] Error 2
[pnorman at pippin ~/osm/osm2pgsql]$
```

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/184
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140923/ffcab589/attachment.html>


More information about the Tile-serving mailing list