[postgis-users] issue while building postgis-1.5.2 with pg-9
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Fri Oct 22 08:22:59 PDT 2010
Dharmendra Goyal wrote:
> Hi Mark,
>
> I added one CFLAG /GS- and security cookie related warnings went away
> but following symbols still could not be found:
>
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(pj_gridinfo.obj):(.text+0x6e7):
> undefined reference to `_ftol2_sse'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(pj_gridinfo.obj):(.text+0x6fc):
> undefined reference to `_ftol2_sse'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(pj_gridinfo.obj):(.text+0xade):
> undefined reference to `_ftol2_sse'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(pj_gridinfo.obj):(.text+0xaf3):
> undefined reference to `_ftol2_sse'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(pj_gridlist.obj):(.text+0x1a2):
> undefined reference to `_imp___wassert'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(PJ_tmerc.obj):(.text+0x917):
> undefined reference to `_ftol2_sse'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(PJ_robin.obj):(.text+0x2e):
> undefined reference to `_ftol2_sse'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(PJ_robin.obj):(.text+0x181):
> undefined reference to `_ftol2_sse'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(nad_intr.obj):(.text+0x21):
> undefined reference to `_ftol2_sse'
> c:/pginstaller.pune-repo/proj-4.7.0.staging/lib/proj.lib(nad_intr.obj):(.text+0x42):
> undefined reference to `_ftol2_sse'
> collect2: ld returned 1 exit status
>
> This is coming at the time of linking:
> dllwrap -o postgis-1.5.dll --dllname postgis-1.5.dll --def
> libpostgis-1.5dll.def lwgeom_pg.o lwgeom_debug.o lwgeom_accum.o
> lwgeom_spheroid.o lwgeom_ogc.o lwgeom_functions_analytic.o
> lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o lwgeom_gist.o
> lwgeom_btree.o lwgeom_transform.o lwgeom_box.o lwgeom_box3d.o
> lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_geos.o lwgeom_geos_prepared.o
> lwgeom_export.o lwgeom_svg.o lwgeom_gml.o lwgeom_kml.o lwgeom_geojson.o
> lwgeom_in_gml.o lwgeom_in_kml.o lwgeom_triggers.o lwgeom_dump.o
> lwgeom_functions_lrs.o long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o
> geography_inout.o geography_gist.o geography_btree.o
> geography_estimate.o geography_measurement.o
> -Lc:/PGINST~1.PUN/PGSQL-~1.1/lib -Wl,--allow-multiple-definition
> -L/C/pgBuild/krb5/lib/i386 -L/C/pgBuild/OpenSSL/lib
> -L/C/pgBuild/zlib/lib -Wl,--as-needed
> -L/C/pginstaller.pune-repo/geos-3.1.1.staging/lib
> -L/C/pginstaller.pune-repo/proj-4.7.0.staging/lib -lgeos_c -lproj
> -L/c/pgBuild/libxml2_mingw/lib -lxml2 -lws2_32 ../liblwgeom/liblwgeom.a
> -Lc:/PGINST~1.PUN/PGSQL-~1.1/lib -lpostgres
>
> Any clue...??
>
> Regards,
> Dharmendra
Sorry, I don't think I can help you any more :(
All the builds I have done in the past (as well as the current builds)
are all done using MingW and they all appear to work fine. I guess it
must be related something in your particular build environment. My
suspicion would be that its something in the MSVC PROJ.4 project
settings somewhere, but you'd need to ask someone who uses MSVC for more
help.
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
More information about the postgis-users
mailing list