[postgis-devel] build problems on CENTOS 6.2

Paul Ramsey pramsey at opengeo.org
Thu Dec 22 17:28:58 PST 2011


If you're operating off of svn checkout, make clean and re-run
./autogen and ./configure before rebuilding.
P.

On Thu, Dec 22, 2011 at 4:52 PM, Nathaniel Clay
<clay.nathaniel at gmail.com> wrote:
> Hi all,
>
> Having trouble building postgis svn on my machine. Here is the output from
> make..
>
>
> for s in liblwgeom libpgcommon regress postgis loader utils raster topology;
> do \
>         echo "---- Making all in ${s}"; \
>         make -C ${s} all || exit 1; \
>     done;
> ---- Making all in liblwgeom
> make[1]: Entering directory `/home/nathan/code/postgis/liblwgeom'
> /bin/sh ../libtool --tag=CC --mode=link gcc -rpath /usr/local/lib
> stringbuffer.lo measures.lo measures3d.lo box2d.lo ptarray.lo lwgeom_api.lo
> lwgeom.lo lwpoint.lo lwline.lo lwpoly.lo lwtriangle.lo lwmpoint.lo
> lwmline.lo lwmpoly.lo lwcollection.lo lwcircstring.lo lwcompound.lo
> lwcurvepoly.lo lwmcurve.lo lwmsurface.lo lwpsurface.lo lwtin.lo lwout_wkb.lo
> lwin_wkb.lo lwout_wkt.lo lwin_wkt_parse.lo lwin_wkt_lex.lo lwin_wkt.lo
> lwutil.lo lwhomogenize.lo lwalgorithm.lo lwsegmentize.lo lwprint.lo
> vsprintf.lo g_box.lo g_serialized.lo g_util.lo lwgeodetic.lo lwtree.lo
> libtgeom.lo lwout_gml.lo lwout_kml.lo lwout_geojson.lo lwout_svg.lo
> lwout_x3d.lo lwgeom_geos.lo lwgeom_geos_clean.lo lwgeom_geos_node.lo
> lwgeom_geos_split.lo lwgeom_transform.lo lwspheroid.lo -release 2.0.0SVN
> -L/usr/lib64 -lgeos_c  -lproj -o liblwgeom.la
> libtool: link: rm -fr  .libs/liblwgeom-2.0.0SVN.so .libs/liblwgeom.a
> .libs/liblwgeom.la .libs/liblwgeom.lai .libs/liblwgeom.so
> libtool: link: gcc -shared  .libs/stringbuffer.o .libs/measures.o
> .libs/measures3d.o .libs/box2d.o .libs/ptarray.o .libs/lwgeom_api.o
> .libs/lwgeom.o .libs/lwpoint.o .libs/lwline.o .libs/lwpoly.o
> .libs/lwtriangle.o .libs/lwmpoint.o .libs/lwmline.o .libs/lwmpoly.o
> .libs/lwcollection.o .libs/lwcircstring.o .libs/lwcompound.o
> .libs/lwcurvepoly.o .libs/lwmcurve.o .libs/lwmsurface.o .libs/lwpsurface.o
> .libs/lwtin.o .libs/lwout_wkb.o .libs/lwin_wkb.o .libs/lwout_wkt.o
> .libs/lwin_wkt_parse.o .libs/lwin_wkt_lex.o .libs/lwin_wkt.o .libs/lwutil.o
> .libs/lwhomogenize.o .libs/lwalgorithm.o .libs/lwsegmentize.o
> .libs/lwprint.o .libs/vsprintf.o .libs/g_box.o .libs/g_serialized.o
> .libs/g_util.o .libs/lwgeodetic.o .libs/lwtree.o .libs/libtgeom.o
> .libs/lwout_gml.o .libs/lwout_kml.o .libs/lwout_geojson.o .libs/lwout_svg.o
> .libs/lwout_x3d.o .libs/lwgeom_geos.o .libs/lwgeom_geos_clean.o
> .libs/lwgeom_geos_node.o .libs/lwgeom_geos_split.o .libs/lwgeom_transform.o
> .libs/lwspheroid.o   -L/usr/lib64 -lgeos_c -lproj    -Wl,-soname
> -Wl,liblwgeom-2.0.0SVN.so -o .libs/liblwgeom-2.0.0SVN.so
> libtool: link: (cd ".libs" && rm -f "liblwgeom.so" && ln -s
> "liblwgeom-2.0.0SVN.so" "liblwgeom.so")
> libtool: link: ar cru .libs/liblwgeom.a  stringbuffer.o measures.o
> measures3d.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o
> lwpoly.o lwtriangle.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o
> lwcircstring.o lwcompound.o lwcurvepoly.o lwmcurve.o lwmsurface.o
> lwpsurface.o lwtin.o lwout_wkb.o lwin_wkb.o lwout_wkt.o lwin_wkt_parse.o
> lwin_wkt_lex.o lwin_wkt.o lwutil.o lwhomogenize.o lwalgorithm.o
> lwsegmentize.o lwprint.o vsprintf.o g_box.o g_serialized.o g_util.o
> lwgeodetic.o lwtree.o libtgeom.o lwout_gml.o lwout_kml.o lwout_geojson.o
> lwout_svg.o lwout_x3d.o lwgeom_geos.o lwgeom_geos_clean.o lwgeom_geos_node.o
> lwgeom_geos_split.o lwgeom_transform.o lwspheroid.o
> libtool: link: ranlib .libs/liblwgeom.a
> libtool: link: ( cd ".libs" && rm -f "liblwgeom.la" && ln -s
> "../liblwgeom.la" "liblwgeom.la" )
> make[1]: Leaving directory `/home/nathan/code/postgis/liblwgeom'
> ---- Making all in libpgcommon
> make[1]: Entering directory `/home/nathan/code/postgis/libpgcommon'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/nathan/code/postgis/libpgcommon'
> ---- Making all in regress
> make[1]: Entering directory `/home/nathan/code/postgis/regress'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/nathan/code/postgis/regress'
> ---- Making all in postgis
> make[1]: Entering directory `/home/nathan/code/postgis/postgis'
> gcc -E -traditional-cpp -I../libpgcommon postgis.sql.in.c | grep -v '^#' >
> postgis.sql.in
> sed 's,MODULE_PATHNAME,$libdir/postgis-2.0,g' postgis.sql.in >postgis.sql
> gcc -E -traditional-cpp -I../libpgcommon uninstall_postgis.sql.in.c | grep
> -v '^#' > uninstall_postgis.sql.in
> sed 's,MODULE_PATHNAME,$libdir/postgis-2.0,g' uninstall_postgis.sql.in
>>uninstall_postgis.sql
> cat postgis_drop_before.sql.in.c postgis.sql >
> postgis_upgrade_20_minor.sql.in
> '/usr/bin/perl' ../utils/postgis_proc_upgrade.pl
> postgis_upgrade_20_minor.sql.in 2.0 > postgis_upgrade_20_minor.sql
> gcc -E -traditional-cpp -I../libpgcommon legacy.sql.in.c | grep -v '^#' >
> legacy.sql.in
> sed 's,MODULE_PATHNAME,$libdir/postgis-2.0,g' legacy.sql.in >legacy.sql
> gcc -E -traditional-cpp -I../libpgcommon uninstall_legacy.sql.in.c | grep -v
> '^#' > uninstall_legacy.sql.in
> sed 's,MODULE_PATHNAME,$libdir/postgis-2.0,g' uninstall_legacy.sql.in
>>uninstall_legacy.sql
> gcc -E -traditional-cpp -I../libpgcommon legacy_compatibility_layer.sql.in.c
> | grep -v '^#' > legacy_compatibility_layer.sql.in
> sed 's,MODULE_PATHNAME,$libdir/postgis-2.0,g'
> legacy_compatibility_layer.sql.in >legacy_compatibility_layer.sql
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_debug.o lwgeom_debug.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o postgis_module.o
> postgis_module.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_accum.o lwgeom_accum.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_spheroid.o
> lwgeom_spheroid.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_ogc.o lwgeom_ogc.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_functions_analytic.o
> lwgeom_functions_analytic.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_inout.o lwgeom_inout.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_functions_basic.o
> lwgeom_functions_basic.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_btree.o lwgeom_btree.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_box.o lwgeom_box.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_box3d.o lwgeom_box3d.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_geos.o lwgeom_geos.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_geos_prepared.o
> lwgeom_geos_prepared.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_geos_clean.o
> lwgeom_geos_clean.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_geos_relatematch.o
> lwgeom_geos_relatematch.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_export.o
> lwgeom_export.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_in_gml.o
> lwgeom_in_gml.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_in_kml.o
> lwgeom_in_kml.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_in_geojson.o
> lwgeom_in_geojson.c
> lwgeom_in_geojson.c:19: warning: ‘geojson_lwerror’ defined but not used
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_triggers.o
> lwgeom_triggers.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_dump.o lwgeom_dump.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_functions_lrs.o
> lwgeom_functions_lrs.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o long_xact.o long_xact.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_sqlmm.o lwgeom_sqlmm.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_rtree.o lwgeom_rtree.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o lwgeom_transform.o
> lwgeom_transform.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o gserialized_typmod.o
> gserialized_typmod.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o gserialized_gist_2d.o
> gserialized_gist_2d.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o gserialized_gist_nd.o
> gserialized_gist_nd.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o geography_inout.o
> geography_inout.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o geography_btree.o
> geography_btree.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o geography_estimate.o
> geography_estimate.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o geography_measurement.o
> geography_measurement.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -I/usr/include   -I/usr/include/libxml2
> -I../liblwgeom -I../libpgcommon -I. -I. -I/usr/pgsql-9.1/include/server
> -I/usr/pgsql-9.1/include/internal -I/usr/include/et -D_GNU_SOURCE
> -I/usr/include/libxml2  -I/usr/include  -c -o geometry_estimate.o
> geometry_estimate.c
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
> -fno-strict-aliasing -fwrapv -fpic -shared -o postgis-2.0.so lwgeom_debug.o
> postgis_module.o lwgeom_accum.o lwgeom_spheroid.o lwgeom_ogc.o
> lwgeom_functions_analytic.o lwgeom_inout.o lwgeom_functions_basic.o
> lwgeom_btree.o lwgeom_box.o lwgeom_box3d.o lwgeom_geos.o
> lwgeom_geos_prepared.o lwgeom_geos_clean.o lwgeom_geos_relatematch.o
> lwgeom_export.o lwgeom_in_gml.o lwgeom_in_kml.o lwgeom_in_geojson.o
> lwgeom_triggers.o lwgeom_dump.o lwgeom_functions_lrs.o long_xact.o
> lwgeom_sqlmm.o lwgeom_rtree.o lwgeom_transform.o gserialized_typmod.o
> gserialized_gist_2d.o gserialized_gist_nd.o geography_inout.o
> geography_btree.o geography_estimate.o geography_measurement.o
> geometry_estimate.o  -L/usr/pgsql-9.1/lib -L/usr/lib64 -Wl,--as-needed
> ../liblwgeom/.libs/liblwgeom.a ../libpgcommon/libpgcommon.a  -L/usr/lib64
> -lgeos_c -lproj  -lxml2 -lz -lm
> make[1]: Leaving directory `/home/nathan/code/postgis/postgis'
> ---- Making all in loader
> make[1]: Entering directory `/home/nathan/code/postgis/loader'
> /bin/sh ../libtool --mode=link gcc -g -O2  -fPIC -DPIC  -Wall
> -Wmissing-prototypes  -DUSE_NLS
> -DLOCALEDIR=\"/usr/pgsql-9.1/share/locale\"   shpopen.o dbfopen.o getopt.o
> shp2pgsql-core.o shpcommon.o shp2pgsql-cli.o safileio.o
> ../liblwgeom/liblwgeom.la -o shp2pgsql  -lc
> libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes -DUSE_NLS
> -DLOCALEDIR=\"/usr/pgsql-9.1/share/locale\" shpopen.o dbfopen.o getopt.o
> shp2pgsql-core.o shpcommon.o shp2pgsql-cli.o safileio.o -o .libs/shp2pgsql
> ../liblwgeom/.libs/liblwgeom.so -L/usr/lib64 -lgeos_c -lproj -lc -Wl,-rpath
> -Wl,/usr/local/lib
> ../liblwgeom/.libs/liblwgeom.so: undefined reference to `wkt_yylex'
> ../liblwgeom/.libs/liblwgeom.so: undefined reference to `wkt_lexer_init'
> ../liblwgeom/.libs/liblwgeom.so: undefined reference to `wkt_lexer_close'
> collect2: ld returned 1 exit status
> make[1]: *** [shp2pgsql] Error 1
> make[1]: Leaving directory `/home/nathan/code/postgis/loader'
> make: *** [all] Error 1
>
>
> Thanks,
>
> Nathaniel H Clay
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>



More information about the postgis-devel mailing list