[postgis-users] postgis-cvs link error on mingw
Adão Paulino
adao.paulino at lpsig.com.br
Thu Apr 21 07:46:54 PDT 2005
Hi,
I'm trying to build PostGIS 1.0.0 on PostGres 8.0.2, using Windows and MingW.
I've used the instructions from TECHER Jean David and no errors has occured until I try to run 'Make' on '/home/src/postgres-8.0.2/contrib', after setting USE_PROJ and USE_GEOS to 1, PROJ_DIR = 1 and GEOS_DIR = 1 int the Makefile.Config.
I've got the following after the make command:
Administrador at HP6 /home/src/postgresql-8.0.2/contrib/postgis-1.0.0
$ make
make -C lwgeom
make[1]: Entering directory `/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/lwgeom'
sh ../geos_version.sh /c/postgres-8.0.2 > postgis_geos_version.h
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.dll --dllname liblwgeom.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 -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/port -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/port -lstdc++ -L/c/postgres-8.0.2/lib -lgeos -L/c/postgres-8.0.2/lib -lproj -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/backend -lpostgres
c:\MingW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe: cannot find -lpostgres
c:\MingW\bin\dllwrap.exe: c:\MingW\bin\gcc exited with status 1
make[1]: *** [liblwgeom.dll] Error 1
make[1]: Leaving directory `/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/lwgeom'
make: *** [liblwgeom] Error 2
Could someone help me?
Thanks in advance.
Adão Paulino.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050421/4d8e9789/attachment.html>
More information about the postgis-users
mailing list