[postgis-users] Patch for PostGIS CVS on Windows

Jean David TECHER davidtecher at yahoo.fr
Fri Jul 1 06:25:10 PDT 2005


I tried but always the same error

By the way I always compil PostGIS without iconv...
---------------------------------------------------------------
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 2:54 PM
  Subject: Re: [postgis-users] Patch for PostGIS CVS on Windows


  On Fri, Jul 01, 2005 at 01:35:46PM +0200, Jean David TECHER wrote:
  > In postgis/Makefile.config.in
  > 
  > USE_ICONV=@USE_ICONV@
  ...
  > checking iconv.h usability... yes
  > checking iconv.h presence... yes
  > checking for iconv.h... yes
  ...
  > 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'

  Does adding -liconv to CFLAGS in loader/Makefile fix 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/b955b308/attachment.html>


More information about the postgis-users mailing list