[postgis-users] building postgis 0.8.1 on Postgresql Native Win32

Hisaji ONO hi_ono2001 at ybb.ne.jp
Mon Apr 5 20:01:35 PDT 2004


Hello.

 I've tried to build building postgis 0.8.1 on Postgresql Native Win32(
http://momjian.postgresql.org/main/writings/pgsql/win32.html, on latest
MinGW + MSYS).

 For default(enabling GEOS), I've got many error messages and this didn't
stop.

 And disenable GEOS, I've got following error messages.

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns                                               -g -I. -I../../src/include 
-I./src/include/port/win32 -DEXEC_BACKEND  "-I../../s
rc/include/port/win32" -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -DUS
E_VE                                             RSION=73  -c -o
postgis_debug.o postgis_debug.c
In file included from postgis_debug.c:34:
postgis.h:547:1: warning: "max" redefined
In file included from c:/mingw/include/windows.h:48,
                 from ../../src/include/pg_config_os.h:7,
                 from ../../src/include/c.h:80,
                 from ../../src/include/postgres.h:48,
                 from postgis_debug.c:17:
c:/mingw/include/windef.h:140:1: warning: this is the location of the
previous d                                             efinition
In file included from postgis_debug.c:34:
postgis.h:548:1: warning: "min" redefined
In file included from c:/mingw/include/windows.h:48,
                 from ../../src/include/pg_config_os.h:7,
                 from ../../src/include/c.h:80,
                 from ../../src/include/postgres.h:48,
                 from postgis_debug.c:17:
c:/mingw/include/windef.h:143:1: warning: this is the location of the
previous d                                             efinition
postgis_debug.c: In function `decode_wkb_collection':
postgis_debug.c:213: `BYTE_ORDER' undeclared (first use in this function)
postgis_debug.c:213: (Each undeclared identifier is reported only once
postgis_debug.c:213: for each function it appears in.)
postgis_debug.c:213: `LITTLE_ENDIAN' undeclared (first use in this function)
postgis_debug.c: In function `decode_wkb':
postgis_debug.c:282: `BYTE_ORDER' undeclared (first use in this function)
postgis_debug.c:282: `LITTLE_ENDIAN' undeclared (first use in this function)
make: *** [postgis_debug.o] Error 1


 Could anyone give some suggestions to me?

 Regards.





More information about the postgis-users mailing list