[postgis-users] Error index on compiling postgis with mingw
David TECHER
davidtecher at yahoo.fr
Tue May 11 01:34:07 PDT 2004
Hi Craig
I had lot of errors with "undefined...." from geos
I wasn't able to stop errors. So I had to stopped
MinGW . MinGW scratched and restarted my computer
--- Craig Miller <craig.miller at spatialminds.com> a
écrit : > I would start by getting just postgis to
work
> without proj and geos, then
> add them in.
>
> I never resolved my linker error btw, just the index
> error.
>
> --Craig
>
>
> -----Original Message-----
> From: David TECHER [mailto:davidtecher at yahoo.fr]
> Sent: Monday, May 10, 2004 2:15 AM
> To: PostGIS Users Discussion
> Subject: [postgis-users] Error index on compiling
> postgis with mingw
>
>
> Hi Postgisers'
>
> I tryed to compil postgis-cvs from 30-0402004 and
> geos-cvs and proj and postresgql-snapshot...
>
> I downloaded MinGW, Bison and so all.
>
> Here is what I do
> -------------
> PROJ 4.4.7
> --------------
> configure
>
> replace MAKE=make by MAKE=mingw32-make in all
> Makefiles of proj
>
> $mingw32-make;mingw32-make install
>
> OK..SUCESS
> ------------
> GEOS from cvs
> ------------
> $configure
>
> replace MAKE=make by MAKE=mingw32-make in all
> Makefiles of proj
>
> $mingw32-make;mingw32-make install
>
> OK..SUCESS
> -----------------------------------
> Postgresql 7.5 devel from CVS 23042004
> -----------------------------------
> $LDFLAGS=-lstdc++ configure --without-zlib
> -enable-multibyte --prefix=/c/psqlwin
> $mingw32-make
> OK....
> -----------------------------------
> Postgis from CVS 30042004
> -----------------------------------
> I used file 'postgis.h' done by Romi Hardiyanto
> from
> the mailign list of postgis
> $ mingw32-make
> I got this error
>
> dlltool --export-all --output-def postgis.def
> postgis_debug.o postgis_ops.o postgis_fn.o
> postgis_inout.o postgis_proj.o postgis_chip.o
> postgis_transform.o postgis_gist_72.o
> postgis_estimate.o postgis_geos.o
> postgis_geos_wrapper.o postgis_algo.o
> dllwrap -o libpostgis.dll --dllname libpostgis.dll
> --def postgis.def postgis_debug.o postgis_ops.o
> postgis_fn.o postgis_inout.o postgis_proj.o
> postgis_chip.o postgis_transform.o postgis_gist_72.o
> postgis_estimate.o postgis_geos.o
> postgis_geos_wrapper.o postgis_algo.o
> -L../../src/port
> -L../../src/port -lstdc++ -L/usr/local/lib -lgeos
> -L/usr/local/lib -lproj -L../../src/backend
> -lpostgres
>
> Info: resolving _default_statistics_target by
> linking
> to __imp__default_statistics_target (auto-import)
> postgis_inout.o(.text+0x1f0d): In function
> `geometry_in':
>
C:/MinGW/home/david/postgresql23042004/postgresql-snapshot/contrib/postgis-c
> vs/postgis_inout.c:1620:
> undefined reference to `index'
>
postgis_inout.o(.text+0x1f19):C:/MinGW/home/david/postgresql23042004/postgre
>
sql-snapshot/contrib/postgis-cvs/postgis_inout.c:1621:
> undefined reference to `index'
> postgis_geos_wrapper.o(.text+0x3ed): In function
> `PostGIS2GEOS_box3d':
> c:/MinGW/include/c++/3.2.3/bits/basic_string.h:781:
> undefined reference to `NOTICE_MESSAGE'
> postgis_geos_wrapper.o(.text+0x680): In function
> `PostGIS2GEOS_collection':
> c:/MinGW/include/c++/3.2.3/bits/basic_string.h:781:
> undefined reference to `NOTICE_MESSAGE'
> postgis_geos_wrapper.o(.text+0x8eb): In function
> `PostGIS2GEOS_point':
> c:/MinGW/include/c++/3.2.3/bits/basic_string.h:781:
> undefined reference to `NOTICE_MESSAGE'
> postgis_geos_wrapper.o(.text+0xc7c): In function
> `PostGIS2GEOS_linestring':
> c:/MinGW/include/c++/3.2.3/bits/basic_string.h:781:
> undefined reference to `NOTICE_MESSAGE'
> postgis_geos_wrapper.o(.text+0xf56): In function
> `PostGIS2GEOS_multipolygon':
> c:/MinGW/include/c++/3.2.3/bits/basic_string.h:781:
> undefined reference to `NOTICE_MESSAGE'
>
postgis_geos_wrapper.o(.text+0x1206):c:/MinGW/include/c++/3.2.3/bits/basic_s
> tring.h:781:
> more undefined references to `NOTICE_MESSAGE' follow
> fu000001.o(.idata$3+0xc): undefined reference to
> `libpostgres_a_iname'
> nmth000000.o(.idata$4+0x0): undefined reference to
> `_nm__default_statistics_target'
> c:\MinGW\bin\dllwrap.exe: c:\MinGW\bin\gcc exited
> with
> status 1
> mingw32-make: *** [libpostgis.a] Error 1
>
> Coudl you help me?
>
>
>
>
>
>
>
> Yahoo! Mail : votre e-mail personnel et gratuit qui
> vous suit partout !
> Créez votre Yahoo! Mail sur
> http://fr.benefits.yahoo.com/
>
> Dialoguez en direct avec vos amis grâce à Yahoo!
> Messenger !Téléchargez
> Yahoo! Messenger sur http://fr.messenger.yahoo.com
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
>
http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
>
http://postgis.refractions.net/mailman/listinfo/postgis-users
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
More information about the postgis-users
mailing list