[postgis-users] Patch for PostGIS CVS on Windows

Jean David TECHER davidtecher at yahoo.fr
Fri Jul 1 04:35:46 PDT 2005


In postgis/Makefile.config.in

if I let 

USE_ICONV=@USE_ICONV@

when I did

rm -f postgis.log; make clean && make distclean; configure 2>&1 >> postgis.log; make 2>&1 | tee -a postgis.log

here is the problem I got reported from postgis.log

checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for pg_config... /c/PostgreSQL/8.0.3/bin/pg_config
checking which template to use... win32
checking for geos-config... /c/PostgreSQL/8.0.3/bin/geos-config
checking for proj... /c/PostgreSQL/8.0.3/bin/proj
checking for flex... /mingw/bin/flex
checking for yacc... /mingw/bin/yacc
checking for install... /bin/install
configure: creating ./config.status
config.status: creating Makefile.config
 
 SUMMARY
 -------------------------------------------------------
 
 HOST_OS: mingw32
 
   PGSQL: /c/PostgreSQL/8.0.3/bin/pg_config
    GEOS: /c/PostgreSQL/8.0.3/bin/geos-config
    PROJ: dir=/c/PostgreSQL/8.0.3/bin/..
  
 PORTNAME: win32
   PREFIX: /usr/local
  EPREFIX: ${prefix}
      DOC: ${prefix}/share/doc
     DATA: ${prefix}/share/postgresql/contrib
      MAN: ${prefix}/man
      BIN: c:/PostgreSQL/8.0.3/bin
      EXT: c:/PostgreSQL/8.0.3/lib (\$$libdir)
 -------------------------------------------------------
 
make -C lwgeom 
make[1]: Entering directory `/home/david/sources/PostGIS/cvs/postgis/lwgeom'
sh ../geos_version.sh /c/PostgreSQL/8.0.3 > postgis_geos_version.h
cpp -P -traditional-cpp -DUSE_VERSION=80 lwpostgis.sql.in | sed -e 's:@MODULE_FILENAME@:\$libdir/liblwgeom.1.1.dll:g;s:@POSTGIS_VERSION@:1.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1:g;s:@POSTGIS_SCRIPTS_VERSION@:0.3.1:g;s/@POSTGIS_BUILD_DATE@/2005-07-01 11:32:40/g' | grep -v '^#' > lwpostgis.sql
cp lwpostgis.sql ..
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o measures.o measures.c
measures.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o box2d.o box2d.c
box2d.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o ptarray.o ptarray.c
ptarray.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_api.o lwgeom_api.c
lwgeom_api.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom.o lwgeom.c
lwgeom.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwpoint.o lwpoint.c
lwpoint.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwline.o lwline.c
lwline.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwpoly.o lwpoly.c
lwpoly.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwmpoint.o lwmpoint.c
lwmpoint.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwmline.o lwmline.c
lwmline.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwmpoly.o lwmpoly.c
lwmpoly.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwcollection.o lwcollection.c
lwcollection.c:1: warning: -fPIC ignored for target (all code is position independent)
g++ -I/c/PostgreSQL/8.0.3/include  -g -O2 -fPIC -fexceptions -DUSE_GEOS   -c -o lwgeom_geos_wrapper.o lwgeom_geos_wrapper.cpp
lwgeom_geos_wrapper.cpp:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o wktunparse.o wktunparse.c
wktunparse.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgparse.o lwgparse.c
lwgparse.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o wktparse.tab.o wktparse.tab.c
wktparse.tab.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lex.yy.o lex.yy.c
lex.yy.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o vsprintf.o vsprintf.c
vsprintf.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o liblwgeom.o liblwgeom.c
liblwgeom.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_pg.o lwgeom_pg.c
lwgeom_pg.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_debug.o lwgeom_debug.c
lwgeom_debug.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_spheroid.o lwgeom_spheroid.c
lwgeom_spheroid.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_ogc.o lwgeom_ogc.c
lwgeom_ogc.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_functions_analytic.o lwgeom_functions_analytic.c
lwgeom_functions_analytic.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_geos.o lwgeom_geos.c
lwgeom_geos.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_inout.o lwgeom_inout.c
lwgeom_inout.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_estimate.o lwgeom_estimate.c
lwgeom_estimate.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_functions_basic.o lwgeom_functions_basic.c
lwgeom_functions_basic.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_gist.o lwgeom_gist.c
lwgeom_gist.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_btree.o lwgeom_btree.c
lwgeom_btree.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_transform.o lwgeom_transform.c
lwgeom_transform.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o stringBuffer.o stringBuffer.c
stringBuffer.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_box.o lwgeom_box.c
lwgeom_box.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_box3d.o lwgeom_box3d.c
lwgeom_box3d.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_box2dfloat4.o lwgeom_box2dfloat4.c
lwgeom_box2dfloat4.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_chip.o lwgeom_chip.c
lwgeom_chip.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_svg.o lwgeom_svg.c
lwgeom_svg.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_gml.o lwgeom_gml.c
lwgeom_gml.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_triggers.o lwgeom_triggers.c
lwgeom_triggers.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -DUSE_VERSION=80 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"' -DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-07-01 11:32:40"' -I/c/PostgreSQL/8.0.3/bin/../include -DUSE_PROJ  -Ic:/PostgreSQL/8.0.3/include/server -Ic:/PostgreSQL/8.0.3/include/server/port/win32 -DAUTOCACHE_BBOX=1  -DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_dump.o lwgeom_dump.c
lwgeom_dump.c:1: warning: -fPIC ignored for target (all code is position independent)
dlltool --export-all  --output-def lwgeom.def measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o lwgeom_geos_wrapper.o  wktunparse.o lwgparse.o wktparse.tab.o lex.yy.o vsprintf.o liblwgeom.o lwgeom_pg.o lwgeom_debug.o lwgeom_spheroid.o lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_geos.o lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o stringBuffer.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_svg.o lwgeom_gml.o lwgeom_triggers.o lwgeom_dump.o
dllwrap  -o liblwgeom.1.1.dll --dllname liblwgeom.1.1.dll  --def lwgeom.def measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o lwgeom_geos_wrapper.o  wktunparse.o lwgparse.o wktparse.tab.o lex.yy.o vsprintf.o liblwgeom.o lwgeom_pg.o lwgeom_debug.o lwgeom_spheroid.o lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_geos.o lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o stringBuffer.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_svg.o lwgeom_gml.o lwgeom_triggers.o lwgeom_dump.o    -lstdc++ -L/c/PostgreSQL/8.0.3/lib -lgeos -L/c/PostgreSQL/8.0.3/bin/../lib -lproj -Lc:/PostgreSQL/8.0.3/lib -lpostgres
Info: resolving _pj_errno by linking to __imp__pj_errno (auto-import)
Info: resolving _pj_release by linking to __imp__pj_release (auto-import)
Info: resolving _pj_errno by linking to __imp__pj_errno (auto-import)
Info: resolving _pj_release by linking to __imp__pj_release (auto-import)
Info: resolving _pj_errno by linking to __imp__pj_errno (auto-import)
Info: resolving _pj_release by linking to __imp__pj_release (auto-import)
dlltool --dllname liblwgeom.1.1.dll  --def lwgeom.def --output-lib liblwgeom.a
make[1]: Leaving directory `/home/david/sources/PostGIS/cvs/postgis/lwgeom'
make -C loader
make[1]: Entering directory `/home/david/sources/PostGIS/cvs/postgis/loader'
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80   -c -o shpopen.o shpopen.c
shpopen.c:176: warning: 'rcsid' defined but not used
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80   -c -o dbfopen.o dbfopen.c
dbfopen.c:200: warning: 'rcsid' defined but not used
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80   -c -o getopt.o getopt.c
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80   -c -o shp2pgsql.o shp2pgsql.c
shp2pgsql.c: In function `utf8':
shp2pgsql.c:1628: warning: implicit declaration of function `bzero'
shp2pgsql.c:1631: warning: passing arg 2 of `libiconv' from incompatible pointer type
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=80 shpopen.o dbfopen.o getopt.o shp2pgsql.o  -o shp2pgsql.exe 
shp2pgsql.o(.text+0x2d7f): In function `utf8':
C:/msys/1.0/home/david/sources/PostGIS/cvs/postgis/loader/shp2pgsql.c:1613: undefined reference to `libiconv_open'
shp2pgsql.o(.text+0x2e29):C:/msys/1.0/home/david/sources/PostGIS/cvs/postgis/loader/shp2pgsql.c:1628: undefined reference to `bzero'
shp2pgsql.o(.text+0x2e56):C:/msys/1.0/home/david/sources/PostGIS/cvs/postgis/loader/shp2pgsql.c:1631: undefined reference to `libiconv'
shp2pgsql.o(.text+0x2e9a):C:/msys/1.0/home/david/sources/PostGIS/cvs/postgis/loader/shp2pgsql.c:1637: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make[1]: *** [shp2pgsql.exe] Error 1
make[1]: Leaving directory `/home/david/sources/PostGIS/cvs/postgis/loader'
make: *** [loaderdumper] Error 2

---------------------------------------------------------------
TECHER Jean David
01MAP
e-mail: david at 01map.net
Tél: 04 67 45 60 27
Entreprise: http://www.01map.net
Perso: http://techer.pascal.free.fr/postgis/
---------------------------------------------------------------
  ----- Original Message ----- 
  From: strk at refractions.net 
  To: PostGIS Users Discussion 
  Sent: Friday, July 01, 2005 11:29 AM
  Subject: Re: [postgis-users] Patch for PostGIS CVS on Windows


  On Fri, Jul 01, 2005 at 11:06:21AM +0200, Jean David TECHER wrote:
  ...
  > I was not able to use iconv on MinGW for supoort utf-8 for shp2pgsql.

  Can you report the problem ?
  The configure script should be made able to cope with this.
  --strk;
  _______________________________________________
  postgis-users mailing list
  postgis-users at postgis.refractions.net
  http://postgis.refractions.net/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050701/0912b0e2/attachment.html>


More information about the postgis-users mailing list